I added a combobox to my grid via the following method
GridViewComboBoxColumn cboreason = new GridViewComboBoxColumn("Reasons");
cboreason.DataSource = pamsContext.GetGrievancesReasons();
cboreason.FieldName = "reason";
cboreason.DisplayMember = "Value";
cboreason.ValueMember = "Key";
cboreason.Width = 100;
grvGrievances.Columns.Add(cboreason);
grvGrievances.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
I have a details changed to track the dirty state of my form which i normally attach via
txtReportedTo.SelectedValueChanged+= DetailsChanged;
How do i do this with the above ???? As dont see the usual SelectedValueChanged method to call ??
GridViewComboBoxColumn cboreason = new GridViewComboBoxColumn("Reasons");
cboreason.DataSource = pamsContext.GetGrievancesReasons();
cboreason.FieldName = "reason";
cboreason.DisplayMember = "Value";
cboreason.ValueMember = "Key";
cboreason.Width = 100;
grvGrievances.Columns.Add(cboreason);
grvGrievances.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
I have a details changed to track the dirty state of my form which i normally attach via
txtReportedTo.SelectedValueChanged+= DetailsChanged;
How do i do this with the above ???? As dont see the usual SelectedValueChanged method to call ??