Dock.Collapse not working properly

4 posts, 0 answers
  1. ajit
    ajit avatar
    46 posts
    Member since:
    Jun 2009

    Posted 14 Sep 2009 Link to this post

    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
  2. Vyrban
    Vyrban avatar
    31 posts
    Member since:
    Nov 2008

    Posted 15 Sep 2009 Link to this post

    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.


  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ajit
    ajit avatar
    46 posts
    Member since:
    Jun 2009

    Posted 24 Sep 2009 Link to this post

    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
  5. ajit
    ajit avatar
    46 posts
    Member since:
    Jun 2009

    Posted 24 Sep 2009 Link to this post

    Hi ,
              Thank you. I think i figured it out. This case can be closed.

    Regards,
    Ajit
Back to Top