Need functionality

3 posts, 0 answers
  1. Bichitra
    Bichitra avatar
    34 posts
    Member since:
    Aug 2008

    Posted 22 Jan 2009 Link to this post

    Hi,

    When I close the RadWindow using window control(cross button) It hides not closing. and Is there any way to cancle closing the Window.? If not would you like to provide this functionality,please?
    This is important functionality. because if some body changed data before closing the window  we should popup message  for close and cancel the window.

    I am waiting for reply ..

    Thanks
    Bichitra
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 23 Jan 2009 Link to this post

    Hello Bichitra,

    You can use the CloseMode property. If you set CloseMode="Close", the "x"  button will close your window. If this property is set to "Hide", the window will be only hidden.

    About the second question - you should handle the PreviewClosed event. It is fired before the Close event.

    Hope this will work for you. If you have any problems with that, please feel free to ask.

    Sincerely yours,
    Boyan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 24 Jan 2009 Link to this post

    Hello Bichitra,

    Just to clarify that in handling the PreviewClosed and PreviewHidden you should set the property Cancel to True which is part of the event arguments parameter that will consequently prevent the control from closing or hiding. Tell us whether this functionality suits your needs and whether we can provide you with a better and more initiative approach.

    All the best,
    Hristo Borisov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top