Problem where to attach keydown event

3 posts, 0 answers
  1. Niklas
    Niklas avatar
    8 posts
    Member since:
    Sep 2014

    Posted 25 Sep 2014 Link to this post

    Where should i attach the event to make it work properly?

    Now i attach it to a RadPane, but it only works aslong as some objeckt inside the RadPane is focused. If i have the "frame" of the RadPane focused, say after i reposition it, the KeyDown will not fire. 

    I have tried to attach the event to almost every object above the RadPane in the hierarchy but no luck so far...


          RadPaneGroup   <-- Inside here we dynamically add RadPanes

  2. Niklas
    Niklas avatar
    8 posts
    Member since:
    Sep 2014

    Posted 25 Sep 2014 in reply to Niklas Link to this post

    On further investigation the problem seems to be OS related, since the problem only occures in Windows 8, not in Windows 7.
  3. Alek
    Alek avatar
    78 posts

    Posted 29 Sep 2014 Link to this post

    Hello Niklas,

    Basically, the RadPane is only the tab which is visualized when you have more than one RadPane placed in a RadPaneGroup. The area where the objects are visible is ContentControl which is not placed in the RadPane. This is the reason the event to be fired only if you have an object defined in the RadPane as the event of the object is send up in the visual tree.

    Testing the case in different OS (Windows 7 and Windows 8.1) on our side we receive the same results - the event is not triggered if there are not controls defined in the RadPane. 

    We would like to have more details about the behavior you're trying to achieve. In most cases hooking to the event of the control defined in the RadPane is helping is to resolve the case.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top