Save trigger not working on dock close.

2 posts, 0 answers
  1. David Moore
    David Moore avatar
    23 posts
    Member since:
    Jul 2008

    Posted 11 Jun 2009 Link to this post

    I just upgraded to the newest release in an attempt to fix another problem, now the trigger for closing my dock does not work.

    I have it setup just like the example, it is fired when I move a dock, but for some reason the close does not fire the save method.

    Here is my code which is straight from the example

    AsyncPostBackTrigger saveStateTrigger = new AsyncPostBackTrigger(); 
    saveStateTrigger.ControlID = dock.ID; 
    saveStateTrigger.EventName = "DockPositionChanged"
    UpdatePanel1.Triggers.Add(saveStateTrigger); 
     
    saveStateTrigger = new AsyncPostBackTrigger(); 
    saveStateTrigger.ControlID = dock.ID; 
    saveStateTrigger.EventName = "Command"
    UpdatePanel1.Triggers.Add(saveStateTrigger); 


    Thanks
  2. David Moore
    David Moore avatar
    23 posts
    Member since:
    Jul 2008

    Posted 11 Jun 2009 Link to this post

    Problem solved.

    I found the solution here for anyone else that runs into this.

    http://www.telerik.com/community/forums/aspnet-ajax/docking/handling-dock-close-command-server-side.aspx





Back to Top