Click here to Skip to main content
15,903,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all...

I am creating a page that has five links. Each time when page_load event is called, all those five links value are assigned randomly. I want to assign values at their click event at runtime.
After page is loaded, when I click a link, it open a page with some query string.

Suggest me how to do it.

Thanks.

Gagan
Posted

1 solution

you need to assign addhandlers to the labels and point these to the functions that you want them to execute

Google: Add Handler examples
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900