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

Closing event for RadWindow?

4 Answers 522 Views
Window
This is a migrated thread and some comments may be shown as answers.
Michael Chong
Top achievements
Rank 1
Michael Chong asked on 08 Sep 2009, 09:45 AM
I'm currently using RadControls_for_Silverlight_2009_2_0812_DEV. I feel it will be great if the RadWindow can include a closing event like those windows form? In closing event I will determine whether to really close the RadWindow that is if true then close the RadWindow and fire the Closed event else if false then cancel the close operation.

By the way, I would like to know whether there is a latest build or release on RadControls for Silverlight 3.

Thanks for any help and information.

4 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Borisov
Telerik team
answered on 08 Sep 2009, 01:08 PM
Hi Michael Chong,

You can use the Closed event and PreviewClosed event to achieve what you are willing to. If you hook up on the PreviewClosed event and set the Cancel property of WindowPreviewClosedEventArgs to true, the Closed event will not be invoked.

The latest official build is the one you use, we provide internal builds every Friday that include fixes and new small changes to the official version. If you have any other questions feel free to contact us.


Regards,
Hristo Borisov
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.
0
Syed Nadeem
Top achievements
Rank 1
answered on 21 May 2010, 07:03 AM
Hi Hristo ,

I am using SL3 but not the RadWindow. Is it possible to achieve what you said in your previous post with a regular SL window like..

Application.Current.MainWindow.Closing += ....

which is available in SL4 and not in SL3?

Regards,
Syed.

0
Denis Vuyka
Top achievements
Rank 1
answered on 27 May 2011, 11:35 AM
Is it possible to have "PreviewClosed" for the "DialogParameters" class? The default Alert, Prompt, Confirm dialogs are missing this functionality.
Thanks in advance,
Denis
0
Miroslav Nedyalkov
Telerik team
answered on 01 Jun 2011, 03:15 PM
Hello Denis,

 Thank you for your suggestion. I added this feature request in PITS and you could vote for it. The pits item ID is 6329.

Best wishes,
Miroslav Nedyalkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Michael Chong
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Syed Nadeem
Top achievements
Rank 1
Denis Vuyka
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Share this question
or