hi guys i have a problem sending parameters over an hyperlink. I have already figured out alternative methods but i just cant get why i can not do it on aspx page.
1)
href="right.aspx?&subjectId=<%=s%>" --> i can use this on the aspx page to send the variable on the page to another page, it works.
2)
s=Request.QueryString["si"];
HyperLink2.NavigateUrl = "right.aspx?subjectId="+s; --> or i can make it this way in the code behind .cs file to define the target page and easily put the variable on the page to be sent to the other page. this one works too.
i tried many different ways do get the variable on the page and put it in the redirect string of the hyperlink but evaluations just dont seem to be interpreted right, they are not evaluated but put in the redirect url as strings.
for example 'right.aspx?&subjectId=<%=s%>' works with href but not with hyp ...
Go to the complete details ...