Java Script
-
Hi, How to call a C# function from javascript apart from add attribute. If we can do it with AJAX,callback or Web services means, then i need it in detail about how to implement it
AFAIK you can call only the Static server side methods from your JavaScript using AJAX. For this you need to set the property EnablePageMethods="true" in your . Also the server side function should contain the attribute [WebMethod]
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
-
Hi, How to call a C# function from javascript apart from add attribute. If we can do it with AJAX,callback or Web services means, then i need it in detail about how to implement it
I have an article which is about creating a control which will allow you to do this very thing.