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

Creating a MDI using RadMenu and RadWindowManager?

2 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tom M
Top achievements
Rank 1
Tom M asked on 24 Aug 2010, 06:19 PM
Greetings All,

I am trying to create a MDI (Multiple Document Interface) within an ASP.NET AJAX application using RadMenu and RadWindowManager. I couldn't find anything concerning this topic and wanted to reach out to the community. I have two questions..

1) Is there any documentation about how to achieve this using RadMenu and RadWindowManager? I wasn't able to find any, but don't want to re-invent the wheel if possible.

2) Are there any major flaws with this approach?
            (1) Upon creation of a RadWindow...
                     add a RadMenuItem to the "Window" RadMenuItem using insert() method.
                     mark the item's state as checked.
                     mark all other item's state as unchecked.
            2) Upon selection of a window's RadMenuItem...
                    get the corresponding RadWindow and call window.setActive() on the given window
                    mark the item's state as checked.            
                    mark all other item's state as unchecked.
            3) On window closing...
                     remove the RadMenuItem for the window using remove() method.
                     
Any feedback is much appreciated.

Regards,
Tom
                
    

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 25 Aug 2010, 02:26 PM
Hello Tom,

I believe that the following demo will be of help: RadWindow And MDI - it uses RadWindow and RadMenu for creating MDInterface.

Regards,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Tom M
Top achievements
Rank 1
answered on 26 Aug 2010, 05:07 PM
Thank you Georgi. This is the type of functionality I am trying to achieve. Users can open windows by interacting with the RadTreeViews and RadMenu on my page. I'll probably just replace my minimize zone with a RadTabStrip and try to reuse some of the logic from openNewWindow(), OnClientTabSelected(), OnClientActivate(), and OnClientClose() found in this example.

Regards,
Tom
Tags
General Discussions
Asked by
Tom M
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Tom M
Top achievements
Rank 1
Share this question
or