Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

passing values in html

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bobby - 04 Oct 2007 00:41 GMT
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] - 04 Oct 2007 00:45 GMT
> 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 <div> tag a bit further up...

Signature

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

Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 04 Oct 2007 00:57 GMT
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

Signature

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

> 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>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.