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

Fileexplorer error with ScriptManager on different Page

3 Answers 42 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
archimede
Top achievements
Rank 1
archimede asked on 10 Jun 2013, 02:00 PM
Good day all,

we're trying to use a FileExplorer in a simple context: we require that the FileExplorer be defined in an user control. This user control is included in a site page that references a master page. The master page includes a Script manager.

When accessing the page that includes the user control with the fileexplorer, however, we receive the following error:

"The control with ID 'ajaxPanel' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it."


There's no 'ajaxPanel' component both in our page nor in our code.
The component is declared as thus inside the page:
                    <telerik:RadFileExplorer runat="server" ID="RadFileExplorer1"></telerik:RadFileExplorer>

When moving the component out from the user control into any web form using the masterpage, the fileexplorer works.
The user control references the masterpage using <%@ Reference Control="~/MasterPage.master"%>

It would seem that the radfileexplorer component is unable to dereference the scriptmanager inside the page. We've tried
RegisterWithScriptManager="false"
but this setting has no effect on the error.

So, how can we manually or dynamically assign an intended radscriptmanager to the radfileexplorer?

3 Answers, 1 is accepted

Sort by
0
archimede
Top achievements
Rank 1
answered on 11 Jun 2013, 07:15 AM
We need feedback on this, especially since it looks like a bug, given that the 'registerwithscriptmanager' parameter has no effect whatsoever.
0
Vessy
Telerik team
answered on 13 Jun 2013, 01:20 PM
Hi Francesco,

I tried to reproduce the described behavior, but to no avail. For convenience I am attaching my test project - could you see whether I am not leaving anything out? Could you modify it up to a point where the problem occurs and send it back?

For my test I used the 2013.1.417 version of RadControls.

Looking forward to hearing from you,
Veselina Raykova
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
archimede
Top achievements
Rank 1
answered on 14 Jun 2013, 03:00 PM
Thanks for the help.

We'll work with your provided example and try to identify the issue.
Tags
FileExplorer
Asked by
archimede
Top achievements
Rank 1
Answers by
archimede
Top achievements
Rank 1
Vessy
Telerik team
Share this question
or