How to Set ExpandedSize

3 posts, 0 answers
  1. David
    David avatar
    6 posts
    Member since:
    Mar 2008

    Posted 19 Sep 2008 Link to this post

    Hi,

    I'm following your example on how to keep the persistant state of the radsplitter across pages and postbacks from here
    http://demos.telerik.com/aspnet/prometheus/Splitter/Examples/SaveLoadStateOnServer/DefaultCS.aspx

    The problem is  your samples shows you can set the expanded size in the example with the method SetSettings(), BUT THE 
    SetExpandedSize is not a method in the RadPane class, I get a compile error when I do it saying that.  I am using RadControls 2008.2.723.20.  The persistant works perfect except the expanded size.  How can I set this if it isn't part of the class?

    public
    void SetSettings(RadPane pane)
                {
                    pane.Width = this.Width;
                    pane.Height = this.Height;
                    pane.SetExpandedSize(this.ExpandedSize);
                    pane.MinWidth = this.MinWidth;
                    pane.MinHeight = this.MinHeight;
                    pane.MaxWidth = this.MaxWidth;
                    pane.MaxHeight = this.MaxHeight;
                    pane.Collapsed = this.Collapsed;
                    pane.Locked = this.Locked;
                    pane.ContentUrl = this.ContentUrl;
                }

  2. David
    David avatar
    6 posts
    Member since:
    Mar 2008

    Posted 19 Sep 2008 Link to this post

    Never mind.  I download the latest version 2008.2.826.20 and read in it release notes that it was just added.  It worked.

    Thanks

    David
  3. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 19 Sep 2008 Link to this post

    Hello David,
    This method was introduced with SP1 and in case you want to use it, you will need to update to version 2008.2.826.20.

    Kind regards,
    Tsvetie
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top