Error on including RadAjaxManager

2 posts, 0 answers
  1. Ananthalvan
    Ananthalvan avatar
    8 posts
    Member since:
    Feb 2012

    Posted 01 Mar 2012 Link to this post

    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
  2. Ananthalvan
    Ananthalvan avatar
    8 posts
    Member since:
    Feb 2012

    Posted 02 Mar 2012 Link to this post

    Update - I got it resolved. Another deploy of the module resolved it.
Back to Top