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

Upgrade RadAjaxNamespace.AsyncRequest for Asp.net Ajax Q1 2008

1 Answer 25 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 17 Jul 2008, 11:36 AM
Here i am using RadControl  Asp.net Q3 2007

Code to be repalce.

 RadAjaxNamespace.AsyncRequest('<%= rGridAccountAlerts.ClientID %>','Rebind','<%= rGridAccountAlerts.ClientID %>');

I am upgrading my control from Asp.net Q3 2007 to Asp.net Ajax Q1 2008

How can i change the above line of code for  Asp.net Ajax Q1 2008


1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 17 Jul 2008, 12:15 PM
Hello Hrushikesh,

I suggest you review the relevant articles from the RadControls for ASP.NET AJAX documentation explaining how to migrate your previous client code implementation to the ASP.NET AJAX counterpart of RadAjax/RadGrid:

http://www.telerik.com/help/aspnet-ajax/ajxmigration.html
http://www.telerik.com/help/aspnet-ajax/grdmigrationtoprometheus.html

If with rGridAccountAlerts you are referring to the Classic version of RadGrid and since its ASP.NET AJAX version does not have built-in ajax, you will need to ajaxify RadGrid for ASP.NET AJAX via RadAjaxManager and invoke its ajaxRequest client method as follows:

$find("<%=RadAjaxManager1.ClientID %>").ajaxRequest('Rebind');

where I assume that RadAjaxManager1 is the server id of your ajax manager instance. Then merely intercept the AjaxRequest method of the manager and process the respective operations. Review this online demo of RadAjax, discussing its client-side API, for further details:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Ajax/Examples/Manager/ClientSideAPI/DefaultCS.aspx

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or