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

RadWindow maximizes too BIG while in user control

2 Answers 81 Views
Window
This is a migrated thread and some comments may be shown as answers.
Duy
Top achievements
Rank 1
Duy asked on 22 May 2009, 04:10 PM
I have a RadWindow declared in a user control web form. The user control web form is bigger than what is displayed on the screen. The user is allowed to scroll up and down on this user control.  But since the user control is bigger than what is immediately viewable on the screen, when I open up a pop-up RadWindow and maximize the window, the RadWindow is as large as the user control. If I am in the lower half of the user control web form and maximize the window, the top portion of the RadWindow is not accessible because it is align with the top of the user control. Since the modal window disables everything outside the RadWindow, I am unable to scroll up to get to the RadWindow title bar.

I have set the RestrictionZoneID property to a DIV around my user control. This prevents the user from dragging the RadWindow outside that div. But I can't figure out how to restrict the RadWindow from being maximized bigger than what is visible on the screen.

Help? Suggestions?

2 Answers, 1 is accepted

Sort by
0
Duy
Top achievements
Rank 1
answered on 22 May 2009, 06:52 PM
Update:

The reason why the window was getting maximized out of reach is because I had a RestrictionZoneId property set. This property is the Id of the DIV around my user control web form. Setting this property prevented the user from accidentally dragging the modal window outside the form, which will cause the user to "lose" the window.

But if I remove this property, maximizing the window never causes the window to get out of scope. This seems like a bug.

Is there anyway I can both both?

0
Georgi Tunev
Telerik team
answered on 25 May 2009, 08:49 AM
Hi Duy,

The behavior that you experience is the expected one - it is how the RadWindow works when put in a Restriction Zone. This behavior cannot be changed, so what I could suggest in this case is either not to use a modal RadWindow or to restrict the maximizing.


Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Duy
Top achievements
Rank 1
Answers by
Duy
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or