We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Error Provider linked to Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

11260 Feb 29,2004 08:28 PM Sep 7,2005 12:20 PM Windows Forms 3
loading
Tags: GridControl
Paul Dorrell
Asked On February 29, 2004 08:28 PM

Isit possible to use an error provider to stick error icons into cells in a data bound grid when the datasource has column errors set against it?

Administrator [Syncfusion]
Replied On February 29, 2004 10:03 PM

There is error provider support in the 2.0 GridGroupingControl, but currently there is no similar error provider support in GridDataBoundGrid. You would have to flag the error in ValidationFailed and then use either PrepareViewStyleInfo or model.QueryCellInfo to check your flags and modify the e.CellStyle somehow to mark the error. Or, you could handle the CurrentCellDrawn event and decorate the error cells after they have been drawn by the grid.

Kevin Vickers
Replied On September 7, 2005 11:05 AM

is this still the case or does the grid now fully support error provider

Administrator [Syncfusion]
Replied On September 7, 2005 12:20 PM

No, you still have to handle a couple of event. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=21730

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;