Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2004

Tip: Looking for answers? Try searching our database.

Looking for the ErrorProvider a grid uses when bound to IBindingLi

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Opel - 30 Sep 2004 14:35 GMT
Hi,

I bind a data adapter (which implements the IBindingList interface)
to a data grid. For the data rows there is also an adapter which
implements the ICustomTypeDescriptor, IEditableObject and IDataErrorInfo
interfaces.

All works fine to bind my custom data types to the grid using my adapters.

Now it comes to validation: my IDataErrorInfo code returns the error message
strings for the columns. If I do that, the data grid automatically shows an
icon in each grid cell where the validation failed.

I did not set or use an error provider object.

My problem: I want to use another icon. So I need the error provider instance
that the grid uses. But what instance does the grid use? Does anyone know
where this error provider instance comes from and how can I access it?

Thanks,
Michael.
mklapp - 04 Oct 2004 15:03 GMT
You may have to add an Error Provider control to the Form and use that
explicitly.  

> Hi,
>
[quoted text clipped - 17 lines]
> Thanks,
> Michael.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.