Closing event for RadWindow?

5 posts, 1 answers
  1. Michael Chong
    Michael Chong avatar
    18 posts
    Member since:
    Jul 2009

    Posted 08 Sep 2009 Link to this post

    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.
  2. Answer
    Hristo Borisov
    Hristo Borisov avatar
    298 posts

    Posted 08 Sep 2009 Link to this post

    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.

    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.
  3. Syed Nadeem
    Syed Nadeem avatar
    19 posts
    Member since:
    Jul 2012

    Posted 21 May 2010 Link to this post

    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?


  4. Denis Vuyka
    Denis Vuyka avatar
    39 posts
    Member since:
    Oct 2009

    Posted 27 May 2011 Link to this post

    Is it possible to have "PreviewClosed" for the "DialogParameters" class? The default Alert, Prompt, Confirm dialogs are missing this functionality.
    Thanks in advance,
  5. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 01 Jun 2011 Link to this post

    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
Back to Top