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

Resize of Gridlist control

Thread ID:





73018 Apr 16,2008 11:34 AM UTC Apr 19,2008 04:12 AM UTC WinForms 1
Tags: GridControl
Asked On April 16, 2008 11:34 AM UTC

Currently, We're trying to implement search functionality. For that, We're using toolstrip(toolstrip textbox and button).Whenever user writes any search text in the toolstrip textbox and presses the button then we are showing the result in a gridlist control. But, some row of the gridlist is too large.So, we want to provide user the facility to expand the gridlist control (just like the way we can expand the dropdown of the autocomplete search).
Is there any way to resize the GLC in the same way one can resize the dropdown in which autocomplete search result is shown ?

Sri Rajan [Syncfusion]
Replied On April 19, 2008 04:12 AM UTC


Thank you for your patience.

Here is the code to control the size of the GridListControl.

this.gridControl1.CurrentCellShowingDropDown += new GridCurrentCellShowingDropDownEventHandler(gridControl1_CurrentCellShowingDropDown);

void gridControl1_CurrentCellShowingDropDown(object sender, GridCurrentCellShowingDropDownEventArgs e)
e.Size = new Size(100, 200);

Please let me know if this helps.

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

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