This is a migrated thread and some comments may be shown as answers.

How to do Ajax postback using __dopostback?

1 Answer 542 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kalyan gupta
Top achievements
Rank 1
kalyan gupta asked on 13 Feb 2011, 05:41 PM
Hi @

I am using Telerik Rad Grid in which my requirement is:
I have a button in one of the columns of the grid on click of which i have to fire some event of code behind. Before that I have to call some javascript function and set some hidden variable.
I am using __doPostBack to fire the code behind event. Here the page does complete postback. Now I want to make this a Ajax postback.
Please help me how to achive this. Is there any sample which can help me.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 16 Feb 2011, 01:27 PM
Hi kalyan,

Try using the ajaxRequestWithTarget() methof of RadAjax to achieve your goal. Find more information in the below article:
http://www.telerik.com/help/aspnet-ajax/ajxclientsideapi.html

All the best,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
kalyan gupta
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or