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

How to Set ExpandedSize

2 Answers 39 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 19 Sep 2008, 03:29 PM
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 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 19 Sep 2008, 03:53 PM
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
0
Tsvetie
Telerik team
answered on 19 Sep 2008, 04:02 PM
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.
Tags
Splitter
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or