AutoSize on width only

2 posts, 0 answers
  1. Vincent DURET
    Vincent DURET avatar
    2 posts
    Member since:
    Mar 2007

    Posted 14 Sep 2010 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Sep 2010 Link to this post

    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.
Back to Top