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

Restrict growth of window past browser border

1 Answer 48 Views
Window
This is a migrated thread and some comments may be shown as answers.
normalham2
Top achievements
Rank 1
normalham2 asked on 18 Oct 2009, 08:47 AM
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.

Thanks,
Todd

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 20 Oct 2009, 12:42 PM
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.
Tags
Window
Asked by
normalham2
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or