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

Can we set a user control as cell type in grid?

Thread ID:





103654 May 22,2012 11:32 AM UTC May 24,2012 12:54 PM UTC WinForms 1
Tags: GridControl
Asked On May 22, 2012 11:32 AM UTC


Kalaiarasan B [Syncfusion]
Replied On May 24, 2012 12:54 PM UTC

Hi Natarajan,

Thank you for your interest in Syncfusion products.

  • If your intention is to embed a user control in a cell, please refer to the following sample in the dashboard.

Grid\Custom Cell Type\Drop-Down Form and User Control Demo

This demo will guide you to create a custom cell control that places a drop-down form or a user control in a cell.

  • Another option is just declare a control in the form and assign  the Control as celltype for a cell like below

            EditControl editControl = new EditControl();
            this.gridControl1[2, 2].CellType = GridCellTypeName.Control;
            this.gridControl1[2, 2].Control = editControl;

In this you can set your own custom control instead of EditControl and can assign it in the same way

Please let me know if this helps




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