Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,
Is there any way to call server side function from client side in asp.net other than AjaxPro , web methods and update panel
Posted
Comments
Sergey Alexandrovich Kryukov 5-May-14 7:41am    
All those methods don't really perform any call, they send HTTP request :-)
—SA

AjaxPro, WebMethod and UpdatePanel are meanings of expose your sever-side functionality to clients. If you want to call server-side functions without any of these you have to find other ways to expose such functionality. You may look for web services (WCF) and Web API to use...
Without one of these methods to expose server-side functionality you ca not call server from the client...
 
Share this answer
 
Comments
Divya RS 5-May-14 23:39pm    
Thanks for the response, i wil look into Web API
 
Share this answer
 
Comments
Kornfeld Eliyahu Peter 6-May-14 11:46am    
Both your samples using WebMethod to expose server functionality. For some reason OP do not want it...

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