hi all!
i had a problem in implementing the error provider control(the one present in toolbox)
i had placed one in the component tray
then placed a textbox in the form and used these events to validate
Private Sub TextBox1_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating
If TextBox1.Text = 200 Then
errorprovider1.SetError(TextBox1, "enter some other value")
End If
End Sub
Private Sub TextBox1_Validated(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Validated
errorprovider1.SetError(TextBox1, "")
End Sub
even after setting this when i enter the text as 200 .i don't get any error icon being displayed.
jus help me to clear this one.......
thankyou
suha
email:
[email protected]