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

Syncfusion.Windows.Forms.Grid.GridDataBoundGrid issue

Thread ID:





79905 Mar 3,2009 06:12 PM UTC Mar 4,2009 02:20 PM UTC WinForms 1
Tags: Tools
Subrata Das
Asked On March 3, 2009 06:12 PM UTC

Hi All,
I am using one grid in my app.One of the Grid's columns is containing combobox which in is bound to a datatable.Now my requirement is such that I should not be able to type anything in the combobox and there by change the selected text but I should be able to select various items from the combobox which is a normal behaviour of any combobox.

In essence I need to stop the user from typing anything in the combobox.

Can anyone please help me out in this regard?

Many thanks in advance!
Subrata Das

Lingaraj S [Syncfusion]
Replied On March 4, 2009 02:20 PM UTC

Hi Subrata,

Thanks for your interest in Syncfusion products.

Please change the DropDownStyle property as Exclusive which will avoid editing the combobox cell in GridControl.

Please refer the code below.
gridControl1[8,4].DropDownStyle = GridDropDownStyle.Exclusive;

Let me know if you have any queries.

Lingaraj S


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