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

RadWindow Skin Missing After Initial Viewing

2 Answers 97 Views
Window
This is a migrated thread and some comments may be shown as answers.
Todd
Top achievements
Rank 1
Iron
Todd asked on 31 Mar 2011, 06:42 PM
First let me specify my environment, am using the ASP.net AJAX Q1 2011 35 controls in VS2010 with VB.net.

In my application I have a button in a RadGrid that when clicked will display a RadWindow to all for some user input which will then be used back on the main page, and I am doing all of this with server-side code.  The first time I push the button and change the visible property of the RadWindow to true it displays correctly and allows for the input that I need.  The user pushes the Close button on the form which runs more server-side code which set the visible property of the RadWindow to false.  The next time the user presses the button the RadWindow displays but all of the skin items are missing.  It's just a basic white box, with my controls in it.  How can I make the RadWindow look the same after the first time it is shown?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 01 Apr 2011, 02:13 PM
Hello Todd,

Firstly, we recommend using the RadWndow's VisibleOnPageLoad property instead of the inherited Visible property on the server-side to toggle between hidden and shown states.

Based on the provided information I could not reproduce this behavior and can only guess, but please check the following:
  • whether after loading the user controls in the RadWindow the total number of stylesheets exceeds 31, as this is a IE limitation - it cannot load more than 31 stylesheets and the ones usually affected are the Window's as they are about the last in the alphabetical list
  • if you explicitly define new global CSS rules for elements such as TR, TD, UL and LI as these could override the RadWindow's styles
  • if there is a JavaScript error on the page

If the above does not help you solve the issue please send us a fully runnable demo displaying this behavior or at least a live URL so we can inspect the page and pinpoint the cause.


Kind regards,
Marin
the Telerik team
0
Todd
Top achievements
Rank 1
Iron
answered on 01 Apr 2011, 02:21 PM
Thanks, switching to that property fixed my problem.  I guess I didn't understand what it actually did.
Tags
Window
Asked by
Todd
Top achievements
Rank 1
Iron
Answers by
Marin Bratanov
Telerik team
Todd
Top achievements
Rank 1
Iron
Share this question
or