Hi,
I'm using DNN 6.0 and I've implemented custom PDF export functionality from RadGrid where I had to disable Ajax on start of PDF export request. I accomplished disabling Ajax using below code
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<ajaxsettings>
<telerik:AjaxSetting AjaxControlID="btnExport">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnExport" />
</UpdatedControls>
</telerik:AjaxSetting>
</ajaxsettings>
<ClientEvents OnRequestStart="RequestStarted" />
</telerik:RadAjaxManager>
where in RequestStarted, I disable the Ajax. Problem here is - when I use this code in my local, it's all working good. When I put it in my dev environment, I get an error
"An error occurred. DotnetNuke.Services.Exceptions.PageLoadException: Multiple controls with the same ID "...." were found. FindControl requires that controls have unique IDs ... "
When I remove the RadAjaxManager piece of code from my UI in dev site, my module shows up properly. Can anyone help me on what can be done here to get around the exception?
Thanks.
Ananth
I'm using DNN 6.0 and I've implemented custom PDF export functionality from RadGrid where I had to disable Ajax on start of PDF export request. I accomplished disabling Ajax using below code
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<ajaxsettings>
<telerik:AjaxSetting AjaxControlID="btnExport">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnExport" />
</UpdatedControls>
</telerik:AjaxSetting>
</ajaxsettings>
<ClientEvents OnRequestStart="RequestStarted" />
</telerik:RadAjaxManager>
where in RequestStarted, I disable the Ajax. Problem here is - when I use this code in my local, it's all working good. When I put it in my dev environment, I get an error
"An error occurred. DotnetNuke.Services.Exceptions.PageLoadException: Multiple controls with the same ID "...." were found. FindControl requires that controls have unique IDs ... "
When I remove the RadAjaxManager piece of code from my UI in dev site, my module shows up properly. Can anyone help me on what can be done here to get around the exception?
Thanks.
Ananth