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.

Can a usercontrol be used in a GridGroupingControl cell?

Thread ID:





18432 Aug 31,2004 07:42 AM Aug 31,2004 08:57 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On August 31, 2004 07:42 AM

I need to create a usercontrol that is the combination of a textbox and a checkbox. The former is not enabled until the latter is checked. How can I add this control to a cell of a GridGroupingControl?

Administrator [Syncfusion]
Replied On August 31, 2004 08:57 AM

You would have to derive a custom cell control in the same manner as grid\samples\celltypes\slider (or Calendar cells or ???). The grid\samples\DataBound\repeatercontrol is a sample that puts a UserControl into a custom celltype. Once you have your derived celltype, you would register it using this.gridGroupingControl1.TableModel.CellModels.Add. Then you would be able to use your new celltype in any ColumnDescriptor Appearance object.


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.