Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
error provider class
suha celik
Jun 20 2004 6:54 AM
1.7k
Reply
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]
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
urgent !!! plz help
date as filename