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

keeping a radWindow within the screen bounds

3 Answers 285 Views
Window
This is a migrated thread and some comments may be shown as answers.
rob
Top achievements
Rank 1
rob asked on 09 Oct 2008, 09:32 AM
Hi all

We have created a online backoffice admin section to our project using radWindow (AJAX Q2 2008) which works very nicely.

However, our MD has an issue that I am struggling to kill, when on his laptop some of the radWindows appear longer height wize than the screen, it would be nice if a radWindow could be set to stay within screen bounds (creating a scroll bar on the radWindow if shrunk).

Ideaz welcome?????

thanks
Rob

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 09 Oct 2008, 10:35 AM
Hello Rob,

The RadWindow and RadWindowManager controls have a property called KeepInScreenBounds which is implemented for such cases. Its default value is false and in order to get the desired behavior you should set it to true

All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
rob
Top achievements
Rank 1
answered on 09 Oct 2008, 12:46 PM
Hi .. after adding the  KeepInScreenBounds="true" to both the radWindow and its manager I still have the same issues, if this property is supposed to stop a window being dragged half offscreen then it isn't working

however I suspect that this wasnt its purpose, ideaz??

thanks
Rob
0
Svetlina Anati
Telerik team
answered on 13 Oct 2008, 09:18 AM
Hello Rob,

I assume that I could not completely understand the problem. Your explanation is not enough detailed to understand your particular scenario. Do you want to resize the RadWindow according to the browser's size? If you want to show it maximized you can set its InitialBehavior to Maximize - in this case it will automatically adjust itself to the browser. Otherwise you can use the RadWindow's client - side API to set the desired size.

In case this is not your scenario, please provide more detailed explanations and best - open a new support ticket and send a sample reproduction demo along with some screenshots and additional explanations.

Greetings,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
rob
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
rob
Top achievements
Rank 1
Share this question
or