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

How to expand window or enable scrollbars??

4 Answers 105 Views
Window
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 01 Oct 2009, 09:08 PM
I have a window that causes the content to expand and thus I need to either havethis window automatically increase in size or enable the scrollbars. I can't seem to get this working.

The case I am using is for .net validators... when validation fires, content is pushed below the bottom of the window.   

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Oct 2009, 08:24 AM
Hello Robert,

Have you tried setting AutoSize property of RadWindowManager / RadWindow to True?
Demo : Automatically Change Size
 
-Shinu.
0
Georgi Tunev
Telerik team
answered on 05 Oct 2009, 01:26 PM
Hi Robert,

RadWindow has an autoSize() client-side method that could be called when needed and will resize the window to fit the content. A sample usage of this method is shown in this demo where the method is called when the date picker is opened and closed.
This being said, my suggestion is to use custom validator and to use its client-side API to call autoSize() after the validator's message is shown.


Greetings,
Georgi Tunev
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.
0
Robert
Top achievements
Rank 1
answered on 05 Oct 2009, 04:18 PM
Your demo is missing 6 files.  Default1.aspx, Default2.aspx,Default1.aspx.cs, Default2.aspx.cs,Default1.aspx.vb and Default2.aspx.vb

0
Georgi Tunev
Telerik team
answered on 06 Oct 2009, 07:07 AM
Hello Robert,

You can examine all files' sources by selecting them in the toolbar of the Example Source Code & Description section (see attached screenshot).


Regards,
Georgi Tunev
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
Robert
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Georgi Tunev
Telerik team
Robert
Top achievements
Rank 1
Share this question
or