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

Dock.Collapse not working properly

3 Answers 62 Views
Dock
This is a migrated thread and some comments may be shown as answers.
ajit
Top achievements
Rank 1
ajit asked on 14 Sep 2009, 07:13 PM
Hi,
       I am generating docks dynamically. i want the current dock plotted to be expanded and and rest created from state to be collapsed. I am setting the property dock.collapsed = true when dock is created from state. But this behavior is not taking place.  It is showing all docks as expanded. Please could you let me know your feedback.

thank you,

regards,
Ajit

3 Answers, 1 is accepted

Sort by
0
Vyrban
Top achievements
Rank 1
answered on 15 Sep 2009, 08:41 AM
Why don't you see this example:
http://demos.telerik.com/aspnet-ajax/dock/examples/dynamicdocks/defaultcs.aspx
In it the dock state is saved in the session and there is no problem with collapse and expand.


0
ajit
Top achievements
Rank 1
answered on 24 Sep 2009, 09:03 PM
Hi,
        The demo saves the state which is happening for my code too but what i really need as i plot docks the last plotted dock should be expanded while rest should appear as collapsed. I have tried to set the collapse property to true in create dock from state but it not functioning properly. Please let me know your feedback.


Regards,
Ajit
0
ajit
Top achievements
Rank 1
answered on 24 Sep 2009, 09:51 PM
Hi ,
          Thank you. I think i figured it out. This case can be closed.

Regards,
Ajit
Tags
Dock
Asked by
ajit
Top achievements
Rank 1
Answers by
Vyrban
Top achievements
Rank 1
ajit
Top achievements
Rank 1
Share this question
or