Author: luppin | Posted on: 3/24/2010 4:37:12 PM | Views : 303

Scenario:
User control dynamically renders linkbuttons (right now in page_load) base on a PageIndex property (right now i store it in Viewstate but it can be stored in any other place if viewstate is not good).
The PageIndex property is beeing set when those link buttons are clicked.
When I click the linkbutton I expect the control to render the button with the Updated PageIndex.
But what happens is: the button is clicked, the page is render and oly then the click event is fired!

this is my code:
protected void Page_Load(object sender, EventArgs e)
Go to the complete details ...