Skip to content Skip to sidebar Skip to footer

__doPostBack() Is Causing Post Back But Not Calling Button Click Event In Aspx Page

I am using a aspx page which is having a button.

Solution 1:

have you tried using the UniqueID instead of the ClientID?

__doPostBack('<%= savebtn.UniqueID %>'"");

Also have a look at this quick tutorial on dopostback:


Solution 2:

I solved this question using this code:

  document.all('Button1').click();

Post a Comment for "__doPostBack() Is Causing Post Back But Not Calling Button Click Event In Aspx Page"