How to call trigger server side button click from client side javascript code?
-
hello, there, I want to trigger a server side button click from client side javascript code. I searched the Internet, but I could not find a solution. I learned it seems I need to call _postback function. But I could not find more details. function Button2_onclick() { __doPostBack('<%=Button1.UniqueID%>', 'onclick'); } I put this in the client side code. but I got server side errors. Please let me know that how to solve this problem. Thank you very much in advance.
-
hello, there, I want to trigger a server side button click from client side javascript code. I searched the Internet, but I could not find a solution. I learned it seems I need to call _postback function. But I could not find more details. function Button2_onclick() { __doPostBack('<%=Button1.UniqueID%>', 'onclick'); } I put this in the client side code. but I got server side errors. Please let me know that how to solve this problem. Thank you very much in advance.
hi, http://www.xefteri.com/articles/show.cfm?id=18 this article is a simple one. follow this
Thomas
-
hi, http://www.xefteri.com/articles/show.cfm?id=18 this article is a simple one. follow this
Thomas
It is really a good article and it is very easy. Thank you so much.