Closing Docks

2 posts, 0 answers
  1. Petrusilius
    Petrusilius avatar
    19 posts
    Member since:
    Apr 2007

    Posted 15 Aug 2007 Link to this post

    On you example of the my portal site you don't really destroy the objects after closing em! What i want to know is, is it possible to close a dock, remove it from the server side dock state list and recreate it with his old id?

    An example would be to show only one calculator or only one horoscope and this widget should always have the same id.
  2. Petya
    Admin
    Petya avatar
    869 posts

    Posted 16 Aug 2007 Link to this post

    Hi Petrusilius,

    Actually, in our example once the dock is closed it is never recreated because of

    if (CurrentDockStates[i].Closed == false) check we make in Init() so it is not on your page.

    If all that matters for you is to have the docks always be recreated with the same IDs then you can save/load state including their ID from a database as shown in this thread.

    Please, provide more specific information about your scenario so we can be more concrete in how to achieve it.

    Regards,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top