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

[Solved] Maximize Radwindow on dual Monitors

3 Answers 242 Views
Window
This is a migrated thread and some comments may be shown as answers.
Wardeaux
Top achievements
Rank 1
Wardeaux asked on 30 Jun 2008, 04:38 PM
Hi All,
  i'm creating a portal for client using IE7 ONLY (MS shop).  I want to lay out the portal areas using RadWindows. The portal will use BOTH monitors for the layout.  I want to be able to maximize the RadWindows on the second screen without it spilling onto the first screen.  I see I have two approaches:
1) create ONE browser screen with all items or
2) create two browser screens with items (one for each monitor)

Approach one is preferred, but when i maximize one of the RadWindows, it fills BOTH monitors since that is the browser size
Aproach two handles the maximize feature correctly, but then i have to figure out how to pass communication between the browsers...

Is there an easy way to limit a Radwindow maximize to a parent container (panel, etc), or else how do I go about limiting the maximize to a specific size?

ALL help is appreciated!!!

thanks all!!
wardeaux

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 01 Jul 2008, 10:22 AM
Hi Wardeaux,

Yes, this is possible - you can use the RestrictionZoneID property for limiting the window in a certain container.



Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Baatezu
Top achievements
Rank 2
answered on 01 Jul 2008, 10:33 AM
I'm weak in the javascript area, so I'm not sure how it would be done in that; But here's the idea I came up with (haven't tried) that might be an approach worth trying:
Use the onclientcommand event and watch for when eventArgs.get_commandName()
is "Maximize".
See http://www.telerik.com/demos/aspnet/prometheus/Window/Examples/ClientSideEvents/DefaultCS.aspx for an example of this happening.
When this is detected, use javascript to set the window size to the screen size.

I don't know how dual monitor and javascript work for getting screen/browser dimensions.
I'd start with the OnClientCommand event and work from within that to control the maximum size of the radWindow.

0
Wardeaux
Top achievements
Rank 1
answered on 01 Jul 2008, 12:57 PM
Baatezu, thank you for the reply... I will keep that solution in mind. : )
Georgi,  thank you for the response, that should do the trick... somehow I missed that there is a whole demo showing this feature... thanks for pointing me in the right direction! : D
wardeaux
Tags
Window
Asked by
Wardeaux
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Baatezu
Top achievements
Rank 2
Wardeaux
Top achievements
Rank 1
Share this question
or