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

image button on gridcontrol

How we can take cell type as imagebutton in gridcontrl or if it is not possible then how we can take jpg image on the button in the cell of gridcontrol Reply Asap Thanks

1 Reply

AD Administrator Syncfusion Team June 10, 2006 12:52 PM UTC

The sample \Essential Studio\4.2.0.37\Windows\Grid.Windows\Samples\In Depth\CellButtons shows how you can have a butten that displays a bitmap. See the ellipsis cell type used there. Another way you can do this is to set the CellType to "PushButton" and subscribe to the grid''s DrawCellButton event. There you can use e.Graphics.DrawImage to draw the bitmap and then set e.Cancel = true to indicate you have handled the drawing.

Loader.
Live Chat Icon For mobile
Up arrow icon