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

AutoSize on width only

1 Answer 85 Views
Window
This is a migrated thread and some comments may be shown as answers.
Vincent DURET
Top achievements
Rank 2
Vincent DURET asked on 14 Sep 2010, 10:03 AM
Hi,

We open some screen into RadWindow, but we would like to avoid the horizontal scrollbar because it's very unconfortable for users, so we would like to use AutoSize property but only for Width, I've try to set a fixed Height, but this property is ignored when AutoSize is set.

may be we could have a client API method like :
setSize(300, 'auto');
setSize('auto', 300);

and something smarter in server side, if Height and AutoSize is set : Autosize only Width.

Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 14 Sep 2010, 11:45 AM
Hello Vincent,

The width of the window can be automatically resized by using the client code as demonstrated in the KB Article.
http://www.telerik.com/support/kb/aspnet-ajax/window/automatically-resizing-a-radwindow-depending-on-its-content.aspx

Regards,
Shinu.
Tags
Window
Asked by
Vincent DURET
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or