we are developing our application in wpf browser application. our application is handling the error occurring anywhere in the application and shown in the messagebox.
In the login screen we have got userid, password, franchise, branch and warehouse text boxes. User will enter userid and password and according to the user authority we will take the respective franchise,branch and warehouse data.if user enters the wrong password, i am validating the user id and password in the entity class and i am throwing the error in the entity class and my application also shown the error in the message box but the focus is automatically goes to next control.
Focus is not suppose to go the next control if there is an error. We dont know how to achieve in the wpf pages. please help us to do it.
Thanks in advance
Saravana.