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

RadPane is resized on the clinet side after Collapsed=true is set serverside

1 Answer 33 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Aleksey
Top achievements
Rank 1
Aleksey asked on 08 Dec 2008, 04:13 PM

Hi!

I have an aspx with a RadSplitter with a couple of RadPanes.

In the codebehind on not postback requests I set pane.Collapsed=true.

When the page is being loaded the pane first appears expanded expanded and is collpased just moment later.

OnClientResized clientside event is fired but OnClinetCollapsed is not.

When I create the same splitter and panes in code, not an apsx, the pane appers collapsed right away (though I'm not sure now).

Also it is collapsed right away after postbacks.

I suppose this cliend side collapse is expected behaviour, but I want to avoid it.

Ho do I awoid this client side collapsing in the first case?

(We have version 2008.2.826.20)

Thanks!

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 11 Dec 2008, 08:40 AM
Hello Aleksey,

Would you please try setting the VisibleDuringInit property to false and test again? Please, note that there was a problem with this property in the Q3 2008 release, namely 2008.3 1105 and in case you are using it, you should use the following workaround:

 http://www.telerik.com/community/forums/aspnet-ajax/splitter/problem-with-visibleduringinit-false.aspx

Kind regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Splitter
Asked by
Aleksey
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or