This is a migrated thread and some comments may be shown as answers.

Dock wont save position when moved twice.

1 Answer 29 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 13 Jul 2009, 04:55 PM
We are working on a solution that allows the user to turn on the RadDocks and move content modules from zone to zone. When they move a Dock, I am saving it's position to the database on DockPositionChanged event. Everything works fine except that I cant move the same dock more than once without refreshing the page. If I move it once, it saves it's position and all the other dock's positions are updated as well. But if I move it a second time, every dock is updated but the one I moved. If I move Dock 1, then move Dock 2, then move Dock 1 again, it works fine. It does not work if I move Dock 1, then Move Dock 1 again. It acts as though Dock1 isn't contained in the collection.

UPDATE: After tracing the event in Sql Server Profiler, I see that the event for Dock1 is fired when it is moved the second time, but it is not using the correct DockZoneID. It is still using the DockZoneID of the DockZone that I moved it to the first time.

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 14 Jul 2009, 03:18 PM
Hi Nathan,

We have an example that demonstrates how the dock causes post back when it is moved. Even if the dock's position is changed many times its position is updated adequately. You can try to reproduce your behavior there, and let us know if you get the same problems as in your project.


Sincerely yours,
Pero
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.
Tags
Dock
Asked by
Nathan
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or