This is a migrated thread and some comments may be shown as answers.
Save trigger not working on dock close.
1 Answer 16 Views
This is a migrated thread and some comments may be shown as answers.
David Moore
Top achievements
Rank 1
David Moore asked on 11 Jun 2009, 05:54 PM
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

1 Answer, 1 is accepted

Sort by
0
David Moore
Top achievements
Rank 1
answered on 11 Jun 2009, 06:11 PM
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





Tags
Dock
Asked by
David Moore
Top achievements
Rank 1
Answers by
David Moore
Top achievements
Rank 1
Share this question
or