Hi Guys, Let us report errors to our UI now.. We use IDataErrorInterface for the same. Remember we do not habe to write any code behind for our warnings messages etc. So we use IDataErrorInfo interface.
Thanks, So how did it show the "Last Name is required" where as you are checking isNullOrEmplty for Fname , and with "Virat" already populated in the Fname Textbox, it shouldn't have shown the Validation right?... please help to clear the doubt...
error messages or red border shouldn't be on load event, how to apply that on textbox keydown or other key event, without having these event to apply on every txt controls(it will slowdown)