Connecting Tech Pros Worldwide Forums | Help | Site Map

passing values in html

=?Utf-8?B?Ym9iYnk=?=
Guest
 
Posts: n/a
#1: Oct 4 '07
Is this the right way topass values to query string
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Admin.aspx?Token=ABC">Go To Admin Page</asp:HyperLink></div>

Mark Rae [MVP]
Guest
 
Posts: n/a
#2: Oct 4 '07

re: passing values in html


"bobby" <bobby@discussions.microsoft.comwrote in message
news:5BD2FD98-37E7-4311-A29A-F82D26B80CC2@microsoft.com...
Quote:
Is this the right way to pass values to query string
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Admin.aspx?Token=ABC">Go To Admin
Page</asp:HyperLink></div>
Yes, assuming there is an opening <divtag a bit further up...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
Guest
 
Posts: n/a
#3: Oct 4 '07

re: passing values in html


There is more than one "right way" to do this kind of thing, but the
technique you've shown is indeed valid.

Here are some other ways to pass data around too:
http://SteveOrr.net/articles/PassData.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


"bobby" <bobby@discussions.microsoft.comwrote in message
news:5BD2FD98-37E7-4311-A29A-F82D26B80CC2@microsoft.com...
Quote:
Is this the right way topass values to query string
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Admin.aspx?Token=ABC">Go To Admin
Page</asp:HyperLink></div>
Closed Thread