Hi,
About to start modernizing an old desktop application and moving it to web.
Due to change management with operators we are not allowed to make significant changes to UI layout etc.
Therefore we must keep the MDI layout of the pages.
What components and layout would you suggest for this task?
A Menu in the top and TelerikWindow's? It should be possible to open many windows
BR
Ulrik
1 Answer, 1 is accepted
Hi Ulrik,
The Window component is like any other component - you can declare as many as you want on the page. If needed, you can generate them with a @foreach loop (e.g., have a descriptor model to iterate over).
Probably the same model can be used for a collection of toggle button components to indicate which windows one can open and which are open (hence, the toggle button over a regular button). You could use other components for this, or even relatively plain HTML, whatever matches your design.
Of course, you could also build a menu whose clicks you can handle to open the windows.
If you do implement such an interface, I'd encourage you to share your sample in this repo (fork it, then do a pull request, or simply send the sample to us with a note to put it in the repo, and with appropriate attribution text). We award such contributions to the community with Telerik points that you can use towards a renewal discount, for example.
Regards,
Marin Bratanov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Great thanks. Have done that and polishing it of to an initial user presentation.
But!
How to avoid the windows overlapping the TelerikMenu (see screen shot)? (Probably simple answer)
...and how to avoid a maximized TelerikWindow to cover the menu in the top part?
BR
Ulrik
PS: MainLayout looks like this: (using DynamicComponent inside my Window component to fill contents)
Havent changed Teleriklayout
Hi Marin,
Thanks for the tip. The menu drop downs now shows over windows, but the menu itself is still behind windows.
I made a <div> around the <TelerikMenu> and set the z-index to a huge number.
Hi again,
The optimal solution for us would be if the TelerikWindow could stay inside the green box and never overlap or move over the blue and orange boxes. I have tried but without success to accomplish this.
If I maximize the TelerikWindow, it maximixes under the menu and the action buttons are inaccessible. The Menu, MenuItems and Footer has very high z-indexes.
Best regards
Ulrik
Hi, Ulrik, we do have a Feature Request on our feedback portal to impose constraints on the movement of the Window. Additionally, until the implementation is ready, there is a workaround for manually restricting the Window mentioned in the first reply.