Click here to Skip to main content
15,905,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Respected sir/madam,

how can i call server functions, within javascript function..can you explain the code in form asp.net(vb).
Posted

Apart from PageMethods (as already suggested), there are few other ways to interact with server side through client side(Javascript):
1. XMLHttpRequest[^]
2. Callback[^]
3. WebService call[^]
 
Share this answer
 
v2
you can put hidden button on page and call your server side function in button click event....and using javascript you can click your hidden button.
 
Share this answer
 
Comments
Sandeep Mewara 16-Jul-10 2:11am    
Reason for my vote of 1
If this has to be the process, why use a hidden button? Why not a normal one!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900