I have an wpf application which has two windows "Window1" has a Button, on click which opens "Window2". "Window2" have some textbox which has been programmed to jump from one control to another on enter key press. TextBox1 is getting focus after "Window2" initialization. This application shows normal behavior when I click or use "Alt" key combination on button but when i use "Enter" key to button it fires TextBox1 validation (means validation failed occurred).
Can you guys help me on this?
thanks