Toolbar Button Skin is removed after ASP FileUpload

3 posts, 0 answers
  1. Brett
    Brett avatar
    11 posts
    Member since:
    Jan 2012

    Posted 19 Jul 2012 Link to this post

    I have an ASP.Net page that has about 8 tabs that are created from a RadTabStrip control.

    On the 1st tab I have a RadToolBar with one button that when clicked opens a modal popup.

    On the 5th tab I have an ASP Button that opens a modal popup that contains an ASP FileUpload control.

    After I select my file to upload and I click the OK button on that modal popup, it uploads the file and then closes the modal popup.

    The problem I'm having is after the modal popup closes and I click on the 1st tab again, the default skin of the RadToolBar buttons are completely gone and it only shows the button text and icon image.

    Any ideas why this is happening?

    Two images are attached of what it should and shouldn't look like.
  2. Kate
    Kate avatar
    1898 posts

    Posted 24 Jul 2012 Link to this post

    Hi Brett,

    From the information that you provided it seems that some of the styles get lost once you return to the page containing the RadToolBar control. Please check if you get any errors on the page that might be causing the look that you get. One possible reason for that is using OutputCache. In this case it is possible that the controls that you use lose reference to their scripts and css styles. One solution would be that you manually try to register the skin and the java script files as explained in the following help article: 

    All the best,
    the Telerik team
    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 their blog feed now.
  3. Brett
    Brett avatar
    11 posts
    Member since:
    Jan 2012

    Posted 24 Jul 2012 Link to this post

    I actually ended up finding the solution. I had to put "RadToolBar1.EnableAjaxSkinRendering = true;" in the page load in order for the button styles to not disappear on postback.
Back to Top