ErrorProvider question

G

Guest

I'm binding an ErrorProvider object to a dataset by calling
ErrorProvider.BindToDataAndErrors() in a WinForms app. That seems to be
working fine.

The only issue I've found is that the error string displayed by an
ErrorProvider has the name of the column prepended to it. That could confuse
users.

The list of error strings for a given DataRow does not have the name
prepended. So it looks like a "feature" of the ErrorProvider class. Deriving
from the class won't solve the problem since the GetError method is not
virtual.

Has anyone seen this too? Do you know of a way to prevent it?

Thanks for any help.
 
S

Scave

Hi,

I have also noticed this "feature". They may say it's by design but
the idea of providing a terse column name for a friendly error
message, without allowing for configuration, is a bug.

Please provide a workaround if there's one available.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top