Home All Groups Group Topic Archive Search About
Author
2 Apr 2005 2:12 PM
Giovanni Cobos
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

Author
2 Apr 2005 5:38 PM
OHM ( Terry Burns )
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
Author
2 Apr 2005 6:38 PM
Herfried K. Wagner [MVP]
"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/>
Author
3 Apr 2005 4:07 AM
Giovanni Cobos
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/>
>