RadWindow Content Area Transparent Background

Thread is closed for posting
1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 07 Nov 2007 Link to this post


    .NET version

    Visual Studio version

    programming language

    browser support

    all browsers supported by RadControls

    The attached project demonstrates how to modify Prometheus RadWindow's appearance so that its content area becomes transparent. Here are step-by-step directions on how to achieve this:

    In the main page:

        - add a global style to the head of the page:

    <style type="text/css">
        iframe,.windowcontent{background:none transparent !important}
        - handle OnClientShow of your RadWindow and set its iframe allowTransparency attribute to true:

    <script type="text/javascript">
        function OnClientShow(oWnd)
            var iframe = oWnd.GetContentFrame();
            iframe.allowTransparency = true;

    In the window's content page:

        - add a global style to the head of the page to make the body transparent:

    <style type="text/css">

Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.