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

Control registration with AJAX MANAGER

1 Answer 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 04 Jan 2011, 09:06 PM
I am getting the following error: 

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Script control 'grWFSteps' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl

My page layout is as follows

Master page that has AJAXMANAGER

Page derived from the Master page has a user control say UC1

        User control UC1 has a radgrid RADGRID1
        User control UC1 has a AJAXMANAGERPROXY where trigger and updated control are RADGrid1
        RadGrid1 can be updated using another user control UC2

                     Now in UC2, there is another user control UC3

                                    UC3 has an AJAXManagerProxy where some controls in UC3 update other controls in UC3

When the trigger in UC3 is initiated I get the error above.

My question is that the controls are already registered with the AJAXManagerProxy in UC3 as shown below.  Where else do they need to be registered?

<

 

telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelWF" runat="server" />

 

<

 

telerik:RadAjaxManagerProxy ID="AjaxManagerProxyWF" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="grWFSteps">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="grWFSteps" LoadingPanelID="RadAjaxLoadingPanelWF" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

</

 

telerik:RadAjaxManagerProxy>

 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 07 Jan 2011, 04:16 PM
Hi John,

From the information provided, we cannot say what is the reason why this error appears.

Could you confirm if setting EnableAJAX="false" for the RadAjaxManager in the main page changes anything about the controls behavior? Also, what kind of control is the "'grWFSteps'" one and where is it placed? Sharing the code from the different controls that form the AJAX scenario would probably help us determine the possible cause of the issue.

Greetings,
Tsvetina
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
John
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or