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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

image button on gridcontrol

Thread ID:





45092 Jun 10,2006 06:04 AM UTC Jun 10,2006 12:52 PM UTC WinForms 1
Tags: GridControl
Vinay Patel
Asked On June 10, 2006 06:04 AM UTC

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

Administrator [Syncfusion]
Replied On June 10, 2006 12:52 PM UTC

The sample \Essential Studio\\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.


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

or the page will be automatically redirected to 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