Answered by:
Call a code behind function from Javascript

Question
-
Hi,
Is it possible to call a code behind function from java script .If yes please provide me sample code as how to do it.
Regards,
Jayagopal
Saturday, April 17, 2010 5:02 AM
Answers
-
Yes, it is possible in AJAX workd, see http://www.asp.net/ajax/documentation/live/Tutorials/ExposingWebServicesToAJAXTutorial.aspx
- Proposed as answer by HamAndFig Sunday, April 18, 2010 1:36 PM
- Marked as answer by Bin-ze Zhao Thursday, April 22, 2010 3:40 AM
Saturday, April 17, 2010 8:44 AM -
Hi,
Gags BD is right, here is also a very good walk through to tell you how to achieve this:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=109&AspxAutoDetectCookieSupport=1
By the way, since this is asp.net related question, please use the right forumn to ask next time.
Thanks
Binze
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked as answer by Bin-ze Zhao Thursday, April 22, 2010 3:40 AM
Wednesday, April 21, 2010 8:53 AM
All replies
-
Did you mean in WebBrowser component? yes, please see http://msdn.microsoft.com/en-us/library/a0746166.aspx (How to: Implement Two-Way Communication Between DHTML Code and Client Application Code)Saturday, April 17, 2010 7:16 AM
-
Yes, it is possible in AJAX workd, see http://www.asp.net/ajax/documentation/live/Tutorials/ExposingWebServicesToAJAXTutorial.aspx
- Proposed as answer by HamAndFig Sunday, April 18, 2010 1:36 PM
- Marked as answer by Bin-ze Zhao Thursday, April 22, 2010 3:40 AM
Saturday, April 17, 2010 8:44 AM -
Hi,
Gags BD is right, here is also a very good walk through to tell you how to achieve this:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=109&AspxAutoDetectCookieSupport=1
By the way, since this is asp.net related question, please use the right forumn to ask next time.
Thanks
Binze
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked as answer by Bin-ze Zhao Thursday, April 22, 2010 3:40 AM
Wednesday, April 21, 2010 8:53 AM