Hi,
I have some validators on my webpage and I have some other functionalities as well.
I am calling a Javascript function on my Submit Button click to set focus on some Validators by setting "SetFocusOnError" to true in that javascript. I need to do this on submit button click only as I have some other functionality on form which is also using PostBack so I have set "SetFocusOnError" to False for that validator by default.
But somehow, its showing that "SetFocusOnError" is set to true through javascript but its not setting focus, so it seems like its not working.
Here is my javascript code inside my Javascript function which I call on my submit button click and return true or false.
var pnlFinancial_Validator1 = document.getElementById('<%= rfvrblWillProvideRevenue.ClientID %>');
pnlFinancial_Validator1.SetFocusOnError = true;
Go to the complete details ...