1
Answer

error provider class

suha celik

suha celik

20y
1.7k
1
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:sugha_zap@yahoo.com
Answers (1)
1
Shivanand Arur

Shivanand Arur

NA 4.9k 745.3k 11y
Riddhi, have you given same namespace to 2 different assemblies? Please check that first. Also to know about the error. Please take a look at the link below.

http://msdn.microsoft.com/en-us/library/64wh5743.aspx

H
ope this helps u. Please mark the answer as accepted, if it helped.
Thank you!!!