Questions tagged [datagridcomboboxcolumn]

The DataGridComboBoxColumn is a DataGridColumn implementation for ComboBox'able cells

Learn more about DataGridComboBoxColumn on MSDN.

330 questions
0
votes
0 answers

Datagrid ComboBoxColumn validation issues

(VS 2010) I have a DataGridComboBobxColum in my WPF datagrid. I'm trying to use a validation rule that is evaluated upon UpdatedValue:
Tekito
  • 840
  • 8
  • 24
0
votes
1 answer

Color row based on DataGridViewComboBoxColumn selection

I'm using C# in Visual Studio 2010. I have a DataGridViewComboBoxColumn bound to a DataSource. I would like for when a selection is made from the combobox, the entire row to change color. I'm not sure how to do this because the comboboxes don't have…
0
votes
1 answer

State, County, and City cascading comboboxcolumns in Datagridview

State, County, and City cascading comboboxcolumns. I just created a simple form with a datagridview. The datagridview contians 3 comboboxcolumns (state, county and city). When you select a state the county combobox should only show counties within…
Jim Kiely
  • 365
  • 2
  • 6
  • 24
0
votes
1 answer

WPF Identify when a datagrid's DataGridComboBoxColumn list is dropped

I have added a drag and drop function to a datagrid. However, the datagrid has an embedded DataGridComboBoxColumn that the drag/drop function interferes with. This is because the drag/drop handler does not identify the difference between a user…
greenbeast
  • 364
  • 2
  • 8
  • 21
0
votes
1 answer

Issue With DataGridViewComboBoxColumn - Catching Data Errors before DataError event triggers

I have a datagridview whihc contains a datagridviewcomboboxcolumn. The data object being bound to the datagrid contains a property whose values are mapped to the datasource values bound to the comboboxcolumn. My problem is that bad data is…
0
votes
1 answer

WPF what is the equivalent of SelectedIndexChanged for a datgrid combo box column?

How can I can an event to fire similar to selectedindexchanged with the datagridcombobox column type?
Unknown Coder
  • 6,625
  • 20
  • 79
  • 129
0
votes
2 answers

DataGridView ComboBoxCell is not showing values that are not from the list vb.net

Hi all i have a combobox which is nicely populated from a binding source. So the problem is the column of the datagrid "Name" is only showing values which comes from the populated drop down list. Those values that is not the same as the droplist is…
shaik ibrahim
  • 187
  • 6
  • 11
  • 31
0
votes
1 answer

WPF ObjectDataProvider that supports linq filtering?

Is there an WPF ObjectDataProvider that supports "Where" I mean like in asp.net there is an option to have a dataprovider that supports defining the results? What I actually need is two ComboBoxes that when I choose a value in the first it limits…
0
votes
2 answers

Saving new DataGrid Rows including DataGridComboBoxColumn Selection back to Entity Set

::EDIT note:: I have completely rewritten this question and it's title for simplification (my entity set names and properties were much more difficult to follow than this analogous scenario). ::/EDIT note:: I have really been struggling to find the…
Rachael
  • 1,965
  • 4
  • 29
  • 55
0
votes
1 answer

Filling textbox automatically when combobox choose a value

I have a table (WareTable in SQL Server). I need to use a datagridview(=dgv) in my form. In my dgv , 1st column is a ComboBox (WareName). I want when choose a value in ComboBox , next column (sellPrice) will be filled automatically. …
0
votes
1 answer

Exception when updating entities bound to dataGrid in wpf entity framework

I have two entities: (Entity Framework code first approach) public class Work { public Guid Id { get; set; } public string Title { get; set; } public virtual Department Department { get; set; } public virtual Guid DepartmentId { get;…
0
votes
1 answer

wpf binding combobox to observable collection

I have an ObservableCollection that gets it's data from a DataTable that is populate from a Postgres Database. I need to bind this ObservableCollection to a ComboBoxColumn in a DataGrid. I have seen quite a lot of examples on how to do this, yet I'm…
0
votes
1 answer

A simpler way to use DataGridComboBoxColumn?

I have a WPF (.NET 4) DataGrid backed by a DataView from a DataTable, which has as one of its columns a DataGridComboBoxColumn. Everything is working for me, but I had to create a new class to hold the contents of what is a simple…
Conrad
  • 2,197
  • 28
  • 53
0
votes
0 answers

Error after setting different datasources for datagridview combobox cells

I am trying to display in DataGridView control names and fields of database tables. In every row name of a table is displayed in the first cell, and second column allows to choose any of the fields of that table. To do that, I am handling…
Srv19
  • 3,458
  • 6
  • 44
  • 75
0
votes
0 answers

Change a specified column to DataGridViewComboBoxExColumn in DotNetBar?

This question requires you to be familiar with DotNetBar UI library for Windows Forms. I know how to add a DataGridViewComboBoxExColumn to a DataGridViewX, but it's useful only when I know which columns the DataGridViewX has. The problem is I don't…
King King
  • 61,710
  • 16
  • 105
  • 130