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.

Showing Image on Grid Button

Thread ID:

Created:

Updated:

Platform:

Replies:

14273 May 24,2004 05:22 AM May 24,2004 06:53 AM Windows Forms 1
loading
Tags: GridControl
Sikandar Hasnain
Asked On May 24, 2004 05:22 AM

Hi I have set the type of one column in my grid as "Push Button". Now I want to show an icon on it. I tried to the image list property of Grid Cell but it is not working Can any one guide me how can I do that

Administrator [Syncfusion]
Replied On May 24, 2004 06:53 AM

The grid\samples\in depth\cellbuttons sample has a cell control that places a bitmap on a button. You could use the same control in your code to have a bitmap button. When using this sample, there is a line that reads: iconPainter = new GridIconPaint("CellButtons.", typeof(EllipsisCellButton).Assembly); The ''CellButtons.'' in the line is the namespace where you have embedded the bitmap resource, so make sure it is set properly or your bitmap will not show up.

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.

;