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

Error on including RadAjaxManager

1 Answer 77 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ananthalvan
Top achievements
Rank 1
Ananthalvan asked on 01 Mar 2012, 10:08 PM
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

1 Answer, 1 is accepted

Sort by
0
Ananthalvan
Top achievements
Rank 1
answered on 02 Mar 2012, 06:17 AM
Update - I got it resolved. Another deploy of the module resolved it.
Tags
Ajax
Asked by
Ananthalvan
Top achievements
Rank 1
Answers by
Ananthalvan
Top achievements
Rank 1
Share this question
or