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

Radsplitter and radwindow

1 Answer 76 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Javier Rodriguez
Top achievements
Rank 1
Javier Rodriguez asked on 03 Dec 2008, 07:30 PM
Hi, what i want to do is that, in a radsplitter i have 2 horizontal pane, in the top pane i have a radmenu and in the bottom pane i have a radwindow, then when i click on a menu item, display into the bottom pane the radwindow, is that possible?, if is it, can you guide me please how to do that or send me a link whith example, in the meantime i keep working on it

Sorry for my english
Thanks

1 Answer, 1 is accepted

Sort by
0
Vyrban
Top achievements
Rank 1
answered on 05 Dec 2008, 09:23 AM
Hello Javier!

Hope this code can helps you:
 <form id="form1" runat="server">  
     <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
     <script type="text/javascript">  
     function radMenuItemClicked(menu,args)  
     {  
        var item = args.get_item();  
        var win = radopen(item.get_value(),item.get_text());  
        win.show();  
     }
    </script> 
    <div> 
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Horizontal">  
            <telerik:RadPane ID="RadPaneTop" runat="server" Height="50px">  
                <telerik:RadMenu ID="RadMenu1" runat="server" OnClientItemClicked="radMenuItemClicked">  
                    <Items> 
                        <telerik:RadMenuItem Text="Google" Value="http://google.com"></telerik:RadMenuItem> 
                        <telerik:RadMenuItem Text="Yahoo" Value="http://yahoo.com"></telerik:RadMenuItem> 
                    </Items> 
                </telerik:RadMenu> 
            </telerik:RadPane> 
            <telerik:RadPane ID="RadPaneBottom" runat="server">  
                <telerik:RadWindowManager ID="RadWindowManager1" runat="server" OffsetElementID="RadPaneBottom" Height="347px" Width="398px"></telerik:RadWindowManager> 
            </telerik:RadPane> 
        </telerik:RadSplitter> 
    </div> 
    </form> 
Tags
Splitter
Asked by
Javier Rodriguez
Top achievements
Rank 1
Answers by
Vyrban
Top achievements
Rank 1
Share this question
or