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

Autopostback for dock state change?

2 Answers 50 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Kia
Top achievements
Rank 1
Kia asked on 17 Mar 2008, 03:59 AM
Hi,

I have a page that uses an update panel and autopostback for a few docks in order to save the dock positions in the background as soon as a user moves something on the screen.

This works fine for the change of the dock's position within the layout control as it uses the DockPositionChanged event. But I also need something to the effect of DockStateChanged.

Ofcourse there isn't one, so can anyone give ideas on how to detect the change in a dock's state(minimised/maximised/closed)?

2 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 17 Mar 2008, 02:14 PM
Hello Kia,

You can use the Command event which is fired when postbacks are enabled and the user clicks on any command on the dock's titlebar.

Please, let me know if you need further assistance.

Best regards,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Accepted
Kia
Top achievements
Rank 1
answered on 20 Mar 2008, 01:44 AM
Thanks Sophy.
Tags
Dock
Asked by
Kia
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Kia
Top achievements
Rank 1
Share this question
or