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

Achieve interaction between AJAX Panel and AJAX Manager

1 Answer 26 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Alok Agrawal
Top achievements
Rank 1
Alok Agrawal asked on 05 Jan 2011, 05:35 PM
Hello Telerik Team,

I've an user control which has a AJAX Panel. This user control is loaded in a Page which has a AJAX Manager. I want to raise the Ajax_Request of the consuming page from withing the user control on certain condition.
I tried to use 
RadAjaxPanel1.ResponseScripts.Add(String.Format("$find('{0}').ajaxRequest();", 
RadAjaxManager1.ClientID));
This causes a error in MicrosoftAjax.debug.js Assembly:    System.Web.Extensions Version:     3.5.0.0 FileVersion: 3.5.30729.196
Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null 
for Controls and Behaviors.Parameter name: element

How do I achieve the desired effect.

Regards

Alok

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 07 Jan 2011, 03:53 PM
Hi Alok,

Note that there are some known issues when using both the manager and the panel in some complex applications - MasterPage or WebUserControls. However, note that a single RadAjaxManager (and no panels) in the master/main page could handle all the scenarios.

Regards,
Maria Ilieva
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
Ajax
Asked by
Alok Agrawal
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or