or
radGridView1.DataSource = dtDataTable; radGridView1.Columns.Remove("CategoryName"); GridViewMultiComboBoxColumn column = new GridViewMultiComboBoxColumn(); column.FieldName = "CategoryName"; radGridView1.Columns.Add(column);
radGridView1.Columns.Move(radGridView1.Columns.Count - 1, 0); if (dtSource.Rows.Count > 0) { for (int i = 0; i < radGridView1.Rows.Count; i++) { radGridView1.Rows[i].Cells["c_price_lob"].BeginEdit(); radGridView1.Rows[i].Cells["c_price_lob"].Value = dtSource.Rows[i][3].ToString(); radGridView1.Rows[i].Cells["c_price_lob"].EndEdit(); } }
For Each typeItem In LcChecklistType.Items If typeItem.Value = 1 OR typeItem.Value = 3 Then typeItem.Selected = True End IfNext
I have added handler progarmatically after this for each loop.
now when the form is loaded completely.
1. if I "deSelect" the selected item say 1, the selectedindexchange event is not firing but the item is deSelected. now again back I Select the same item 1, then the event is fired.
2. if I "Select" other item which is not selected say 2, then the event is fired.
Help Appreciated.
ASAP
Thanks!
Sachin
