Telerik
Skip Navigation LinksHome / Community / Forums / ASP.NET AJAX > Upload > CSS style not applied after postback

Not answered CSS style not applied after postback

Feed from this thread
  • Andy avatar

    Posted on Jun 22, 2009 (permalink)

    Hello!

    I'm experiencing weird issue with RadUpload control. When the page initially loads, everythings looks fine, but after I click "Load" button, the postback occures and "Browse..." button of the RadUploader seems to lose it's css style.
    I'm stuck with this one, so I really hope you guys can help me out. Thanx a lot in advance!

    Here's the content of my aspx page:

    <

     

    asp:Content ID="Content1" ContentPlaceHolderID="plcContent" runat="server">

     

    <

     

    style type="text/css">

     

     

    .RadUpload_artUpload .ruBrowse

     

    {

     

    background-color: #dcf0ff;

     

     

    border: solid 2px #aadcff;

     

     

    height: 23px;

     

     

    width: 86px;

     

    }

     

    </

     

    style>

     

     

     

     

    <asp:Button ID="btnLoad" runat="server" Text="Load"/>

     

     

    <telerik:RadUpload ID="ruFileUpload" MaxFileInputsCount="1" Skin="artUpload" ControlObjectsVisibility="None" runat="server" Localization-Select="Browse..." EnableEmbeddedSkins="false" />

     

    </

     

    asp:Content>

     

    Reply

  • Telerik Admin admin's avatar

    Posted on Jun 22, 2009 (permalink)

    Hello Andy,

    First off, please check if your are really using RadUpload for ASP.NET "Classic" or RadUpload for ASP.NET AJAX. We think it's the latter.

    Anyway, we tried to repro the reported issue using the provided code snippet, but to no avail. Please try to provide additional detail on your implementation.

    Best wishes,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

  • Andy avatar

    Posted on Jun 23, 2009 (permalink)

    Oh, I'm terribly sorry, my bad. Yes it's Ajax. Could you move the thread to the right place please?

    As for the issue - today I've noticed that the issue occures only in Internet Explorer 7 (don't know about 8). In Mozilla it works fine.
    Have you tried to repro it in IE?

    Thanx a lot!
    Andy.

    Reply

  • Telerik Admin admin's avatar

    Posted on Jun 23, 2009 (permalink)

    Yes, Andy, we've tested your code snippet under IE, FF, Chrome and Safari.

    Maybe you've hit the notorious limitation of Internet Explorer - it can load up to 32 CSS files and if there are more, they will be ingnored. This problem can occur in case you are using a theme with a lot of CSS (when you register the theme, automatically all the CSS is declared) or you have declared a lot of RadControls on the page. If you are using a theme you can test my assumption by removing it and test whether the RadTabStrip CSS will load correctly.

    If this is the case I suggest to either use a RadStyleSheetManager which will combine all the CSS on the page or reduce the CSS files used.

    Kind regards,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

Back to Top

Skip Navigation LinksHome / Community / Forums / ASP.NET AJAX > Upload > CSS style not applied after postback
Related resourses for "CSS style not applied after postback"

ASP.NET Upload Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2010 Telerik. All rights reserved.