Hi,
I have an application where from a user control, I am trying to open another user control which contains a user control having a custom implementation of Telerik file explorer (3 levels of user controls). Issue is, file explorer loads fine except it appears to be in read only mode i.e all the operations are disabled.
However, same file explorer user control works fine when used directly from a web form.
Any idea what is causing this issue?
4 Answers, 1 is accepted
Is there any JavaScript error thrown on the page when you are loading FileExplroer from inside your user controls structure? What is the error message if so?
Another possible reason for such behavior can be external ajax request updating FileExplroer, which is cancelling the conrol's built-in AJAX logic and its content is not updated as a result of that. Can you disable the Ajax on the FileExplorer's parent page and see whether the problem persists (set the AjaxManager EnableAjax="False)?
Regards,
Vessy
Telerik by Progress
There is no javascript error message and we are not using AjaxManager on parent page .
The control is loading fine. The custom content browser code is executed as well. I can see the record being picked up from database and shown in the explorer, but it appears to be read only. I can't perform any upload/delete/refresh functions.
Also, in the grid, it shows page 1 of 2, though there are not many records present.
Issue seems to be caused by 'EnablePartialRendering' on the master page. Removing this property, it works fine.
<asp:ScriptManager ID="scriptManager" runat="server" EnablePartialRendering="False"
LoadScriptsBeforeUI="True" />
Is there any way to remove/override this property just for the control where I am having issue?
I am glad you have pinpoint the root of the problem. The FileExplrorer's functionality is heavily based on AJAX updates, thus it the partial rendering of the page have to be enabled in order for the control to function properly. As the script manager is configured on a page level, though, I am not aware of a way to enable this property only for specific controls. The best option I can suggest you is to use RadAjaxManager and update the needed parts of the page when an update of a specific control occurs.
You may also find useful information on the matter in the following article:
http://www.codeproject.com/Tips/656031/How-to-enable-partial-rendering-with-the-AJAX-Upda
Regards,
Vessy
Telerik by Progress