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

Dropdown question

Thread ID:





70066 Nov 26,2007 10:37 AM UTC Nov 27,2007 07:39 PM UTC WinForms 2
Tags: GridControl
Dmitry Kuskov
Asked On November 26, 2007 10:37 AM UTC


How is it possible to associate a cell with a custom dropdown control?

Dmitry Kuskov
Replied On November 26, 2007 11:44 AM UTC

I've found an example but now I have another question:
How is it possible to make the dropdown control resizeable (by dragging by bottom-right corner)?

haneefm [Syncfusion]
Replied On November 27, 2007 07:39 PM UTC


How is it possible to make the dropdown control resizeable (by dragging by bottom-right corner)?
Yes, you can do this by handling the BeforePopup event of the GridDropDownContainer and set the PopupHost 's FormBorderStyle to FormBorderStyle.Sizable. This will help you to resize the DropdownContainer (by dragging by bottom-right corner). Below are the codes:

GridDropDownMonthCalendarCellRenderer cr = this.gridControl1.CellRenderers["MonthCalendar"] as GridDropDownMonthCalendarCellRenderer;
if (cr != null)
cr.DropDownContainer.BeforePopup += new CancelEventHandler(DropDownContainer_BeforePopup);

void DropDownContainer_BeforePopup(object sender, CancelEventArgs e)
GridDropDownContainer cm = sender as GridDropDownContainer;
cm.PopupHost.FormBorderStyle = FormBorderStyle.Sizable;

Best regards,


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