Dock Post back Issue

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

    Posted 17 Jun 2009 Link to this post

    Hi,
          I am dynamically generating dock windows.  I have a asp:button on the rad dock and whenever i click on it the dock window disappears. I know it is happening because of a postback but please could you provide me with a solution to get over this issue. I have tried using an update panel but it raises a java script error maybe because i am  other ajax settings . Please provide me with some feedback without using update panel.

    Regards,
    Ajit
  2. apb
    apb avatar
    46 posts
    Member since:
    Nov 2008

    Posted 19 Jun 2009 Link to this post

    Be sure that you are loading the docks (and their contained controls) in Page_Init on every postback.

    If the controls do not keep their state in ViewState, you may need to reconstruct some or all of the state as well. This is usually best done in Page_Load ().

  3. Petko
    Admin
    Petko avatar
    45 posts

    Posted 22 Jun 2009 Link to this post

    Hello ajit,

    The demo that shows how to implement dynamically creation of RadDock is available here. If you don't want to use update panel, just remove it from the ASPX file and the code behind.

    Kind regards,
    Petko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top