By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,254 Members | 2,365 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,254 IT Pros & Developers. It's quick & easy.

Error Provider Control

P: 53
Hello All,

I am trying to drag and drop an errorprovider control to my Winform application next to the textbox1, But when I drag and drop it sits on the bottom of my form1.cs[Design]. How do I make it to drag next to the textbox1 and also error proivder should display message (eg: The category name should be entered) when the user points to it.How do I do this?? ( I am using VS 2008)

Thank You all....
Feb 9 '09 #1
Share this Question
Share on Google+
1 Reply


nukefusion
Expert 100+
P: 221
The error provider control derives from component, which is why it sits at the bottom of the designer, rather than on your form.

To get a message to display next to a control you will have to write some code using the SetError method. There is some good example code here
Feb 9 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.