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

[Solved] Nested Ajax Panels

1 Answer 277 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Malibongwe
Top achievements
Rank 1
Malibongwe asked on 02 Apr 2009, 08:40 AM
Hi Guys,

I am working on an application that uses nested UserControls. Each user control has an ajax panel so that they do not perform a full page post back. I have one script manager on the main page. Now when I try to add a new record in a GridView I get the following error:

{"Script control 'PageSizeComboBox' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().\r\nParameter name: scriptControl"}

It was suggested by someone to me that it is because I am using nested ajax panels. Could this be the case?

As an aside, how could I point the ajax panels to the ajax manager from the user controls?

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 06 Apr 2009, 08:02 AM
Hello Malibongwe,

One of the possible reasons for this behavior is an improper nesting of the panels.
To see one possible option to alleviate the issue, please refer to the following article. Having an AjaxManager and proxies in the user controls will ensure that the setup is properly ajaxified, with no conflicting options.
I hope this helps.

Sincerely yours,
Yavor
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Malibongwe
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or