Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NavigateURL with a Request.QueryString 1

Status
Not open for further replies.

slatetm

Programmer
Mar 20, 2007
16
US
We are trying to pass a parameter to the next URL that is being retrieved from the current URL. We have tried a number of differents way and think we are close.... any help is appreciated.

<asp:HyperLink ID="EditLink" runat="server" Text="Edit" NavigateUrl="<%# "../Det.aspx?status=e&tab=DI&loc=" & Request.QueryString("loc")%>"></asp:HyperLink>
 
So what is your question? Did the code you supplied give you an error?
 
Yes it gives an error - tag is not well formatted.
 
I tried but it didn't work. I can try again but was hoping someone might know the answer to this one.
 
EditLink.NavigateURL = "../Det.aspx?status=e&tab=DI&loc=" & Request.QueryString("loc")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top