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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Displaying image in row header of DataBoundGrid

Thread ID:





7643 Oct 3,2003 05:40 PM UTC Oct 3,2003 05:48 PM UTC WinForms 1
Tags: GridControl
Gene Gorokhovsky
Asked On October 3, 2003 05:40 PM UTC

How do I display an icon in the row header of databoundgrid? I am faking MS DataGrid style ErrorProvider using PrepareViewStyleInfo to display an error icon and tooltip text when I have have error in my data. e.Style.ImageList = this.errorImageList; e.Style.ImageList = this.errorImageList; e.Style.CellTipText = err; works for the content cells but for the row header tooltip appears, but error icon is not set. Thanks, Gene Gorokhovsky DataBoundGrid

Administrator [Syncfusion]
Replied On October 3, 2003 05:48 PM UTC

You need to draw it yourself in CellDrawn event. Only Static cells have support for imagelist. The GridIconPaint class might be usefull for that too. Stefan


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon