Is there a error provider for silverlight or something equivalent.
I want to basically throw a errorprovider icon, image, or text in red to let the user no that they have not
input no text into a textbox. The user must validate required textbox input before moving to the next page. If they have not put any text in the textbox some form of information will be display to remind the user.
can some one point me into the right direction?
Loading
Mahadesh MahalingappaPosted Aug 13, 2011, 8:20 PM
Attached it.
Thanks,
Mahadesh.
David SmithPosted Aug 22, 2011, 10:58 AM
I do have one thing to ask. How to have the validation disappear after validating the textbox.
I did it once before, But I dont know what i did. Where In I click an button to go to the next page, but I couldnt because I received validation
error. But as soon as I i validated the textbox and move to the next box the red or the validation error went away. How to do that.
Mahadesh MahalingappaPosted Aug 22, 2011, 8:29 AM
Thanks,
Mahadesh
David SmithPosted Aug 15, 2011, 2:10 AM
For example: When it jumps into the case below, shouldn't RaiseValidationError() show the error provider after the function is executed. I am not for sure how the error provider message is popping up.
if (!Page2.Instance.richTextBoxFrameNumber.Selection.Text.IsNumberValid() || string.IsNullOrEmpty(Page2.Instance.richTextBoxFrameNumber.Selection.Text))
{
Page2.Instance.richTextBoxFrameNumber.SetValidation("Please number of frmaes without spaces.");
Page2.Instance.richTextBoxFrameNumber.RaiseValidationError();
isFormValid = false;
}
David SmithPosted Aug 13, 2011, 9:02 PM