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

(un)Pin does not trigger LayoutChange events.

1 Answer 61 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Kevin Hendriks
Top achievements
Rank 1
Kevin Hendriks asked on 10 Feb 2012, 11:24 AM
Hello,

We are currently working with the Docking control and it works wonderfully.
There is only one problem If I only (un)pin a control   the LayoutChangeEnded event is not fired. Meaning that my code for save will not be executed.

With kind regards,
Kevin Hendriks

1 Answer, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 15 Feb 2012, 10:35 AM
Hi,

The LayoutChange events are fired for continuous operations like dragging a pane, resizing a pane or moving a ToolWindow. It is not guaranteed that it fires when a state of a pane  is changed. In this case you might use the PaneStateChanged or Pinned/Unpinned events.

Hope this helps.

All the best,
Miroslav Nedyalkov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Docking
Asked by
Kevin Hendriks
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or