Skinless Windows?

3 posts, 0 answers
  1. Raheel Ashraf
    Raheel Ashraf avatar
    13 posts
    Member since:
    Mar 2010

    Posted 07 Apr 2010 Link to this post

    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. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Apr 2010 Link to this post

    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.

  3. Raheel Ashraf
    Raheel Ashraf avatar
    13 posts
    Member since:
    Mar 2010

    Posted 12 Apr 2010 Link to this post

    Thats a good suggestion. Anyone else??? plss
Back to Top