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.

image button on gridcontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

45092 Jun 10,2006 02:04 AM Jun 10,2006 08:52 AM Windows Forms 1
loading
Tags: GridControl
Vinay Patel
Asked On June 10, 2006 02:04 AM

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 08:52 AM

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.

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.

;