. You have a TextBox control and a Help button that the user can press to get help on allowable values. You validate the data entered by the user in the TextBox control. If the user enters an invalid value, you set the focus back in the control using the Cancel property of the CancelEventArgs. A user reports that once he enters invalid data in the text box, he cannot click the Help button. What should you do to correct the problem?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
. You have a TextBox control and a Help button that the user can press to get help on
allowable values. You validate the data entered by the user in the TextBox control.
If the user enters an invalid value, you set the focus back in the control using the
Cancel property of the CancelEventArgs. A user reports that once he enters invalid
data in the text box, he cannot click the Help button. What should you do to correct
the problem?

1.Set the CausesValidation property of the text box to false.

2.Set the CausesValidation property of the text box to true.

3. Set the CausesValidation property of the Help button to false.

4.Set the CausesValidation property of the Help button to true.


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!