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

[Solved] Which event is raised when closing RadPane

1 Answer 331 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Willy Laroche
Top achievements
Rank 1
Willy Laroche asked on 16 Dec 2009, 08:58 AM
Hello,

I would like to know wich event is raised when I click on the RadPane Close button (In floating mode) ?

In my application, I have RadPanelGroup and I add some RadPane as items of this.
I can detect when the radpane child is in my RadpaneGroup Child collection when it is docked.

1) So When the radPane is in floating, It was remove from my RadPaneGroup Child Collection and I don't know where is it before docking again this radPane....
Would you like to help me for this please ?

2) Then, I would like to override the Close Event when the radPane is in floating... How I can do this ?

Thanks :)

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 21 Dec 2009, 08:20 AM
Hello Willy,

 When a RadPane is closed (no matter from which X button or even through the code) the PreviewClose and Close events of the Docking control are fired. The PreviewClose event is a preview event and can be cancelled by setting the Handled property of the arguments to true.

Hope this helps.

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Willy Laroche
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or