Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI All,


We want to retrieve label value on server side.
I am using a [Ajax.AjaxMethod] method.Here no session,viewstate,Querystring,request.Form is working.I am trying to fetch displayed label value on server Side Button Click.guys can u suggest me. How to fetch value in [Ajax.AjaxMethod].
Posted

1 solution

Various ways:
1. XMLHttpRequest
2. ASP.NET AJAX (Using Update Panel)
3. PageMethod
4. ClientCallback

Pick the one that suits you and Google it. You will get enough links to read/know about them and implement it.

P.S.: Have not written anything on [Ajax.AjaxMethod], as I think it's quite old and no more supported in current ASP.NET application. If you are specifically looking for that then this article should help you out: AJAX in Action[^]
 
Share this answer
 
Comments
thatraja 16-Jan-11 0:42am    
Good answer sandeep

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