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

Skinless Windows?

2 Answers 83 Views
Window
This is a migrated thread and some comments may be shown as answers.
Raheel Ashraf
Top achievements
Rank 1
Raheel Ashraf asked on 07 Apr 2010, 02:43 PM
Hi,
Here is the scenario:
- I have RAdWindowManager and some windows defined in an aspx page. I dont want to display any titlebar, statusbar and any borders(i.e. skins). Titlebar and status bar are easy, however for no skin, i find that the only way to do it is either put "EnableEmbeddedSkins=false" or "skin=""  in RadWindowManager declaration. Notice if I do that in individual window declaration, it doesn't work (i.e. skin shows up).

- In my code, I also create new RadWindows through client side javascript, however for these new windows, I need to display the close button i.e. .set_behaviors(Telerik.Web.UI.WindowBehaviors.Close ); however this new window also comes up as skinless and as a result, no close button. IF I remove the "EnableEmbeddedSkins" attribute, then everything works.

So this is the question: how can i have some windows "skinless" and some with skin?

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Apr 2010, 07:51 AM

Hello Raheel,

Probably it would be easier to use a standard IFRAME (RadWindow is basically an iFRAME) element for showing window without border (instead of using RadWindow). And use the RadWindow if you need behaviors to appear.

Hope this suggestion helps,

Shinu.

0
Raheel Ashraf
Top achievements
Rank 1
answered on 12 Apr 2010, 04:03 PM
Thats a good suggestion. Anyone else??? plss
Tags
Window
Asked by
Raheel Ashraf
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Raheel Ashraf
Top achievements
Rank 1
Share this question
or