Stopping the close of a window

2 posts, 0 answers
  1. Mike Dennis
    Mike Dennis avatar
    51 posts
    Member since:
    Mar 2006

    Posted 12 Jun 2008 Link to this post

    I am fairly new to using the RadWindow control, and most of the code was written by someone else originally, so I hope this makes sense.  Right now we have a page that is in a masterpage, and from that page, there are buttons which use the OpenWindow function to open a window in the content page that consists of TextBoxes and some other controls.  I need to be able to check for a condition if the user tries to close the window, popup an error if a condition is not met, and keep the window open.  This functonality is needed to keep the functionality similar to the previous version of our application that was written in Access.  I saw something about that server side code can still run while the alert is up, so I am thinking that I won't be able to use the alert you have with the control.  Is there a way to do this with the current version of the RadWindow?  If so, would the orginal page or windowed page need to handle that logic?
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 13 Jun 2008 Link to this post

    Hi Mike,

    I believe the following forum thread will be of help:
    http://www.telerik.com/community/forums/thread/b311D-bebdmb.aspx

    There you can see how to override the closing functionality of RadWindow and to run your own code instead.


    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top