Restrict growth of window past browser border

2 posts, 0 answers
  1. normalham2
    normalham2 avatar
    14 posts
    Member since:
    Nov 2006

    Posted 18 Oct 2009 Link to this post

    I would like my windows to stop growing at the border of the browser.  In other words, I let my windows size based on their context, then I display scrollbars when necessary.  When the windows are maximized, I get my scrollbars and everything works great, but if the content grows when not maximized the edge of the window will grow past the edge of the browser so that I can't see the context of the window.  Is there any way to prevent this?  I tried IsRestricted, but that does not do the trick.  I searched online help for RestrictedAreaMargin, but did not find it.

    By the way, I love the windows, just need to get this little issue resolved, it's probably a property I don't know about.

  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 20 Oct 2009 Link to this post

    Hi Todd,

    The IsRestricted property works with the Width, Height, Left and Top properties of the RadWindows and is targeted to restrict the resizers of the RadWindow. If you want to prevent the RadWindow control from growing when the Content grows, just set its width and height properties.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top