__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.
There are two ways to cause postSolution 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"