radDock displays when beneath radWindow

3 posts, 0 answers
  1. Scott Gibson
    Scott Gibson avatar
    10 posts
    Member since:
    Dec 2006

    Posted 03 Jul 2007 Link to this post

    I using a radwindow as a popup.  When the popup is displayed, the raddock displays through the content of the radwindow.

    Any solution?
  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 04 Jul 2007 Link to this post

    Hello Scott Gibson,

    I would offer the following solution:

    <asp:scriptmanager id="ScriptManager1" runat="server">
            </asp:scriptmanager>
            <telerik:raddocklayout id="DockLayout" runat="server">
                <div>
                    <telerik:raddockzone id="ZoneLeft" runat="server" minheight="200px" style="float: left;
                        margin-right: 10px;" width="45%">
                            <telerik:raddock onclientdockpositionchanged="OnClientDockPositionChanged"  id="RadDock1" runat="server" height="280px" title="Dock1" width="200px">
                        </telerik:raddock>
                    </telerik:raddockzone>
                </div>
            </telerik:raddocklayout>
            <radw:radwindowmanager id="w" runat="server">
            </radw:radwindowmanager>
    <input id="openWindow" onclick="OpenXAppProperties()" type="button" value="open" />

    <script type="text/javascript">
            function OnClientDockPositionChanged(obj, args)
            {
                obj.get_element().style.zIndex = 2000;
            }
           
            function OpenXAppProperties()
            {
                var oManager = GetRadWindowManager();
                oManager.Open ("www.telerik.com", "RadWindow2");
            }
    </script>

    Let me know if this helps.

    Greetings,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Scott Gibson
    Scott Gibson avatar
    10 posts
    Member since:
    Dec 2006

    Posted 05 Jul 2007 Link to this post

    Petya,

    The provided solution seems to be working.

    Thanks!
Back to Top