4
Answers

Raise event from Dynamic LinkButton

Photo of netwizard_01

netwizard_01

21y
4.5k
1
Hi, i need to Raise event when the user click on any of the linkButtons which is populated dynamically within a placeHolder at runtime. The values of the linkButtons are stored in the CommandArgument Property. Anyone has any idea how to code the event? Thanx in Advance...

Answers (4)

0
Photo of Abie Jose
NA 17 39.3k 13y
Using a Query string you can pass values of current page's control to another page


Response.Redirect("SecondPage.aspx?value1="& Textbox1.text &" &value2 = "& Textbox2.text &" ")


and in the secondpage.aspx you can retrieve this value with the following code

request.querystring("Value1")