Radsplitter and radwindow

2 posts, 0 answers
  1. Javier Rodriguez
    Javier Rodriguez avatar
    1 posts
    Member since:
    Nov 2008

    Posted 03 Dec 2008 Link to this post

    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
  2. Vyrban
    Vyrban avatar
    31 posts
    Member since:
    Nov 2008

    Posted 05 Dec 2008 Link to this post

    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> 
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top