RadWindow maximizes too BIG while in user control

3 posts, 0 answers
  1. Duy
    Duy avatar
    18 posts
    Member since:
    Nov 2008

    Posted 22 May 2009 Link to this post

    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. Duy
    Duy avatar
    18 posts
    Member since:
    Nov 2008

    Posted 22 May 2009 Link to this post


    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?

  3. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 25 May 2009 Link to this post

    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.
Back to Top