RadWindow and IsDefault/IsCancel Buttons

2 posts, 1 answers
  1. Rashad Rivera
    Rashad Rivera avatar
    63 posts
    Member since:
    Aug 2009

    Posted 02 Jul 2011 Link to this post

    Hello All,

    I have to perform a few hacks and implement a custom AccessKey registration (like seen here), to ensure that the IsDefault and IsCancel buttons embeded in a RadWindow work properly, but it is taking its toll and created a very convoluted development experience.  It would be helpful if Telerik provided some wisdome on how to customize the RadWindow so it handles AccessKey scops on it's own.  Perhaps there is some feature already included that I'm not aware of?

    - Rashad Rivera
      www.omegusprime.com
  2. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 07 Jul 2011 Link to this post

    Hi Rashad,

     The RadWindow control doesn't provide such functionality out-of-the-box (it is not aware of the AccessKeys), but it provide similar functionality - there is an attached property of the RadWindow control, called ResponseButton which could be set to two values - Accept (responds to the Enter key) and Cancel (responds to the Escape key) which behavior cannot be customized.

    Hope this helps.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top