Why does my telerik:RadAjaxManager change my skin on postback, and not allow some postback actions to occur?

4 posts, 0 answers
  1. Obadiah
    Obadiah avatar
    2 posts
    Member since:
    Sep 2013

    Posted 03 Dec 2013 Link to this post

    I am using DotNetNuke 6 I have made a dnn module and added a telerik:RadAjaxManager to smooth over postbacks. The issue that occurs is that after the postback the skin becomes all screwy, and I am not sure what about the telerik control is causing this issue. Also, it will stop some postback actions to occur from occuring**. Here is the telerik code:

    **An example of this would be that I have a droplist that once selected fills another droplist, labels and textfields with data from sql. Sometimes with the telerik code in place that autofill functionality will not execute.
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="Panel1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1"
                                        LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>       
    </AjaxSettings>
    </telerik:RadAjaxManager>
     
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"
                             Height="75px" Width="75px" style="position:absolute;" IsSticky="false"
                             MinDisplayTime="500">
    <img alt="Loading..."
         src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
         style="border: 0px;" />
    </telerik:RadAjaxLoadingPanel>
    please note that the beforePostback.jpg occurs before any postback and reflects the skin if the telerik scripting is removed. Once added and a postback occurs I get what happens in the afterpost.jpg. Without the loading functionality of the telerik the postbacks drag but with it, the module does not function correctly and the DNN skin breaks. 
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 06 Dec 2013 Link to this post

    Hi Obadiah,

    Based on the provided information it is rather difficult to determine what exactly is the root cause of the issue you are facing. Could you please let me know if the issue appear in case the RadAjax is disabled on the page? Also please try to set "EnableAjaxSkinRendering" property of the problematic ajaxified controls to "true" in the PageLoad event and verify if this makes any difference. Give this suggestion try and let me know if it helps.

    Regards,
    Maria Ilieva
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Obadiah
    Obadiah avatar
    2 posts
    Member since:
    Sep 2013

    Posted 06 Dec 2013 Link to this post

    The information you requested is already in the previous post under the code block "please note that the beforePostback.jpg occurs before any postback and reflects the skin if the telerik scripting is removed. Once added and a postback occurs I get what happens in the afterpost.jpg. Without the loading functionality of the telerik the postbacks drag but with it, the module does not function correctly and the DNN skin breaks. 
    "

    Also what control should I set the EnableAjaxSkinRendering on?
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Dec 2013 Link to this post

    Hello Obadiah,

    The "EnableAjaxSkinRendering" property should be manually set to all controls on the page which skins breaks after Ajax. In your case as the DNN skin generally breaks I would suggest you to test the same application using asp UpdatePanel. In case the issue still persists it will be best if you open a case with DNN directly so they could provide the most accurate solution for your issue.

    Regards,
    Maria Ilieva
    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.
Back to Top