Click here to Skip to main content
15,888,190 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to call a function, which is written in aspx.cs
from javascript

any help please
Posted

This may help you.

Link 1[^]

Link 2[^]
 
Share this answer
 
Comments
Sridhar Patnayak 19-Mar-11 8:48am    
good link , very useful
That's Aragon 19-Mar-11 9:14am    
Glad to know that it helps you. :) Good luck.
Choose one of the various ways to do the same:
1. XMLHttpRequest
2. PageMethod
3. Client Callback
4. ASP.NET AJAX using Update Panel.

Pick the one you like, just Google on that and choose any article related to it to implement it in your project.
 
Share this answer
 
Comments
thatraja 21-Mar-11 15:26pm    
Fine Answer sandeep. 5!
Set page mean .aspx attribute PageMethod=true
and now call any function which present in .aspx.cs file.
 
Share this answer
 

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