i have made a static "validation " class for handling error ,
when i press a button then it makes a call to a specific function of validation class , i am getting the custom error message thru throw new exception
but now i want to set focus to control for which i generate a error then ,
then how i can do this.
mean i can i get object information which generates a error.
when i press a button then it makes a call to a specific function of validation class , i am getting the custom error message thru throw new exception
but now i want to set focus to control for which i generate a error then ,
then how i can do this.
mean i can i get object information which generates a error.
Comment