Hyperlinks

G

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
 
O

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




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
 
H

Herfried K. Wagner [MVP]

Giovanni Cobos said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top