Fire Server Side Function from Client Side Code
-
Can i fire up functions/method in ther server side (vb.net) using the client side code (java script)? How can i call the functions in the serevr side?Please show me the code. Thanks alot
In Javascript code just submit your page eg. Form1.submit(); So that your page will get reloaded and contents of web controls will remain as it is due to view state. In page Load event code do further processing.
#Abhi#
-
Can i fire up functions/method in ther server side (vb.net) using the client side code (java script)? How can i call the functions in the serevr side?Please show me the code. Thanks alot
-
Can i fire up functions/method in ther server side (vb.net) using the client side code (java script)? How can i call the functions in the serevr side?Please show me the code. Thanks alot
Or you can directly call the javascript __DoPostback() function.