I have a user control named ViewSubmission and I am not able to use a querystring inside the control.
I am trying to pass an integer value from the querystring to the control. The hyperlink is setup like this:
If I setup the code in my aspx page:
<Control:ViewSubmission runat="server" Submission='85' />,
it works perfectly.
However if I try to pass the value from the querystring like this:
<Control:ViewSubmission runat="server" Submission='<%# Convert.ToInt32(Request.Qu
n"]) %>' />,
the querystring is not passed and is treated as though there is nothing there.
Thanks in advance!
My codebehind for submission is shown below
private Int32 _SubmissionID;
public Int32 Submission
_SubmissionID = value;