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

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

3 Answers 57 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Obadiah
Top achievements
Rank 1
Obadiah asked on 03 Dec 2013, 05:10 PM
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. 

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 06 Dec 2013, 01:02 PM
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.
0
Obadiah
Top achievements
Rank 1
answered on 06 Dec 2013, 01:16 PM
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?
0
Maria Ilieva
Telerik team
answered on 09 Dec 2013, 01:52 PM
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.
Tags
Ajax
Asked by
Obadiah
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Obadiah
Top achievements
Rank 1
Share this question
or