|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
HyperlinksHi guys:
I am developing a Web Page in Visual Basic .Net. I am using 6 hyperlink controls. My question is: How can I do this. When I make a clic on the hyperlink I need to send an additional parameter depending of which this hyperlink was. Because this hyperlink doesn't have a clic event. Thanks, Giovanni If I understand you correctly, you could put something lilke this in the Hyperlink's URL property which can be picked up by the target aspx file.
http://TrainingOn.net/index.htm&NameOfControl Terry Burns http://TrainingOn.net "Giovanni Cobos" <gco***@mail.com> wrote in message news:OitXaV5NFHA.3512@TK2MSFTNGP15.phx.gbl... Hi guys: I am developing a Web Page in Visual Basic .Net. I am using 6 hyperlink controls. My question is: How can I do this. When I make a clic on the hyperlink I need to send an additional parameter depending of which this hyperlink was. Because this hyperlink doesn't have a clic event. Thanks, Giovanni "Giovanni Cobos" <gco***@mail.com> schrieb: Specify the parameter in the URL, for example: >I am developing a Web Page in Visual Basic .Net. I am using 6 hyperlink >controls. My question is: How can I do this. >When I make a clic on the hyperlink I need to send an additional parameter >depending of which this hyperlink was. Because this hyperlink doesn't have >a clic event. "http://example.org/shop/checkout/?type=mastercard". Multiple parameters can be separated by the "&" character: "http://example.org/shop/addtocart/?itemid=22&quantity=12". Inside the target ASP.NET pages you can check the parameters passed to it by examining the 'Request' object's 'QueryString' property. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thanks,
For your help. Giovanni Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> escribió en el mensaje news:#MFsjL7NFHA.3076@TK2MSFTNGP14.phx.gbl... > "Giovanni Cobos" <gco***@mail.com> schrieb: > >I am developing a Web Page in Visual Basic .Net. I am using 6 hyperlink > >controls. My question is: How can I do this. > >When I make a clic on the hyperlink I need to send an additional parameter > >depending of which this hyperlink was. Because this hyperlink doesn't have > >a clic event. > > Specify the parameter in the URL, for example: > "http://example.org/shop/checkout/?type=mastercard". Multiple parameters > can be separated by the "&" character: > "http://example.org/shop/addtocart/?itemid=22&quantity=12". > > Inside the target ASP.NET pages you can check the parameters passed to it by > examining the 'Request' object's 'QueryString' property. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > |
|||||||||||||||||||||||