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

Multiple push buttons in a single cell or user control in a cell

Thread ID:





50936 Oct 24,2006 02:00 AM UTC Nov 15,2006 08:41 PM UTC WinForms 6
Tags: GridControl
Gary Hsu
Asked On October 24, 2006 02:00 AM UTC


Is it possible to have multiple push buttons in a single cell? Can CoveredRanges be used as a work around? Example: | Text [Button1] [Button2] |

Alternatively, it is possible to embed a user control in a cell? If so, can you point me to an example project?

Thank you.

Administrator [Syncfusion]
Replied On October 24, 2006 07:47 PM UTC


Please refer this sample that shows you to have multiple buttons in a single cell by having a custom celltype.

C:\Program Files\Syncfusion\Essential Studio\4.2\Windows\Grid\Samples\In Depth\CellButtons sample

Let me know if this helps for you.

Gary Hsu
Replied On October 29, 2006 05:58 PM UTC

Thank you this works. How does one get reference to the multiple buttons in the cell? For example to enable/disable based on condition.

Administrator [Syncfusion]
Replied On October 30, 2006 11:41 AM UTC

Hi Gah,

Please try the attached sample and let us know if you need any further assistance.

Best Regards,

Gary Hsu
Replied On November 14, 2006 01:05 AM UTC

Thank you.

I have a CellRenderer which adds two different cell buttons (e.g. EllipsisCellButton, ClearCellButton extending from Syncfusion's GridCellButton) to a cell.

The question is, in your example, inside the QueryCellInfo() event, how do you enable/disable a particular button in the cell and not all the buttons in the single cell?

Thank you!


Administrator [Syncfusion]
Replied On November 14, 2006 09:01 AM UTC

Hi Gah,

The attached sample shows you to have multiple buttons in a single cell by having a custom celltype. It also implements Disable/Enable functionality for each cellbutton in a MultipleButton cell. Please try it and let me know if this helps.

Here is a sample.

Best Regards,

Gary Hsu
Replied On November 15, 2006 08:41 PM UTC

Thank you Haneef! Your solution works.


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