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

How can I add RadMenu to RadWindow?

2 Answers 64 Views
Window
This is a migrated thread and some comments may be shown as answers.
Hadi Bahrbegi
Top achievements
Rank 1
Hadi Bahrbegi asked on 07 Oct 2009, 01:53 PM
I'm using AJAX 2008 Q3. How can I add RadMenu to  RadWindow? I add RadMenu as below:

<telerik:RadWindowManager ID="RadWindowManager" runat="server" >
        <Windows>
            <telerik:RadWindow ID="RadWindow" runat="server" Title="test">
               <telerik:RadMenu ID="RadMenu" runat="server" Width="100%" dir="rtl">
                    <CollapseAnimation Duration="200" Type="OutQuint" />
                    <Items>
                        <telerik:RadMenuItem runat="server" Text="File" Font-Names="Tahoma">                           
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Setting">                          
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenu>                 
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>

But RadMenu is not appaired. Why?
I want to add for all RadWindows, and whne I drag them, RadMenu be dragged with them.

Regards
Hadi Bahrbegi

2 Answers, 1 is accepted

Sort by
0
robertw102
Top achievements
Rank 1
answered on 07 Oct 2009, 03:22 PM
RadWindow is only capable of displaying web pages. So if you want to add RadMenu to the pages being displayed in RadWindow, I would create a user control with the RadMenu control in it and then add that user control to any of the pages you're going to display in RadWindow.

This may not be what how you wanted it to be done, but RadWindow doesn't allow controls to be added directly to the control.

I hope that helps.
0
Georgi Tunev
Telerik team
answered on 08 Oct 2009, 04:49 AM
Hello Hadi,

Indeed, Robert is right - at this point RadWindow supports external pages only. We are currently working on adding support for local content and it should appear with the Q3 release next month. For the time being however, I would suggest to consider using RadDock.


Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Hadi Bahrbegi
Top achievements
Rank 1
Answers by
robertw102
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or