Author: hemantkamb | Posted on: 1/2/2009 4:09:06 AM | Views : 345

 Hi...
   I have created one website with master and content pages ...On Master page I have created some dynamic image button controls on load event
i have created array of image buttons and taken one placeholder on web page then i have added image buttons on placeholder with while loop and added placeholder on web page .
    but my problem is that the click event for dynamic generated image button is not fired , it is like Unreachable code.
my code on master page is
protected void Page_Load(object sender, EventArgs e) 

{   
 
    ...some database and other code 

 
HtmlTableRow htr = new HtmlTableRow();
        htr.ID = "Row_Service";

        string imgPath;
        while (k < row_counter)
Go to the complete details ...