This question is locked. New answers and comments are not allowed.
Hi,
I am facing an issue in Radwindow control. The window contains a list and two buttons at the bottom. Pressing any of the buttons at the bottom closes the window and i set the focus back to the button which opened it. It works fine everytime closing the window from the buttons. I also have code to handle Enter and escape key press. When the user presses the enter key, the window is closed and again try to set focus on the button that opened it in the window close event. But it works only once. Next time if i again open the popup and press the enter button, the focus comes to the opening button for a fraction of the milisecond and then quickly moves out of silverlight plugin (or maybe to the First element on the screen). Something overrides the bahvior of setting focus on the button. The same behavior is also occuring with Escape key. I am having really hard time to understand what is happening.
Any help will be greatly appreciated.
Thanks
Atin
I am facing an issue in Radwindow control. The window contains a list and two buttons at the bottom. Pressing any of the buttons at the bottom closes the window and i set the focus back to the button which opened it. It works fine everytime closing the window from the buttons. I also have code to handle Enter and escape key press. When the user presses the enter key, the window is closed and again try to set focus on the button that opened it in the window close event. But it works only once. Next time if i again open the popup and press the enter button, the focus comes to the opening button for a fraction of the milisecond and then quickly moves out of silverlight plugin (or maybe to the First element on the screen). Something overrides the bahvior of setting focus on the button. The same behavior is also occuring with Escape key. I am having really hard time to understand what is happening.
Any help will be greatly appreciated.
Thanks
Atin