ResponseButtons not working?

2 posts, 0 answers
  1. Mike Maddux
    Mike Maddux avatar
    14 posts
    Member since:
    Feb 2010

    Posted 08 Apr 2010 Link to this post


    This is not working as I would have expected. (Using Q1)

    I have a RadWindow that contains a couple of input text boxes and two buttons - Save and Cancel.  For the Save button, I have added the attribute






    And for the Cancel button, I have added the attribute







    I have a handler for the Closed event.

    I open the window with the ShowDialog method.

    I expected that clicking either the Save or Cancel button would cause the Closed event to be fired, including a DialogResult of True or False depending on which button was click.  Instead my Close event handler doesn't receive an event and the dialog window does not close.

    What am I missing?


    Mike Maddux

  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 08 Apr 2010 Link to this post

    Hi Mike,

     The response button only causes you button to be clicked if Enter or Escape is pressed (depending on the value). If you need to close the window with these buttons you will need to do this in the event handlers of the Click events.

    We will consider making this more straight-forward, because you are right that the current behavior is not very good.

    Hope this helps!

    All the best,
    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