css lost when autopostback

4 posts, 0 answers
  1. Baris
    Baris avatar
    34 posts
    Member since:
    Jul 2013

    Posted 20 Mar 2014 Link to this post

    Here is my code.     

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelsRenderMode="Inline">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="pagerMetadata">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rlvMetadata" UpdatePanelRenderMode="Inline" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
        </telerik:RadAjaxLoadingPanel>

    but I lost css in aspx side. I tried add UpdatePanelsRenderMode="Inline" propert but nothing changed. how can I do that using c#?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 25 Mar 2014 Link to this post

    Hi Baris,

    In order to avoid the problematic behavior please try to set EnableAjaxSkinRendering property of the "rlvMetadata" control to true on Page_Load on every post back.

    Give it a try and verify if it works.

    Regards,
    Maria Ilieva
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Baris
    Baris avatar
    34 posts
    Member since:
    Jul 2013

    Posted 26 Mar 2014 in reply to Maria Ilieva Link to this post

    Hi Maria,

    I tried that, but nothing changed. Any idea?
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 31 Mar 2014 Link to this post

    Hello Baris,

    Could you please elaborate a bit more on the exact issue you are facing?

    Us the problem related with missing controls styles after the Ajax request? if this is the case please send us a screenshot that presents the correct look of the controls before the request and the problematic look after it.
    Also if the issue appear only in IE browser with version earlier than IE10, please make sure that you do not hit the IE 31 style sheet limitation described below:

    Internet Explorer CSS limits

    Regards,
    Maria Ilieva
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
Back to Top