View Full Version : [CLOSED] Multicombo box to remain checked while retrieving data from previous grid

May 06, 2014, 5:12 AM
Am strugglig with keeping the multicombo box selected according to data fetched.
I am adding the items in the multicombo at run time based on the comma spearated values i am retrieving. But thereafter i want the boxes to remain checked and the user should be able to uncheck it.

Have used all the below options and a few like ForceSelection="true" feature also. But none seems to work.

case 0:
string projectName = "";
projectName = sm.SelectedCell.Value;
string[] arrProjs = projectName.Split(delimiter, StringSplitOptions.RemoveEmptyEntries);
int iProjCnt = 0;
foreach (string proj1 in arrProjs)
for (iProjCnt = 0; iProjCnt < arrProjs.Length - 1; iProjCnt++)

this.ComboBoxProj.AddItem(proj1, proj1);
this.ComboBoxProj.MultiSelect = true;


//this.ComboBoxProj.SelectItem = true;

//to show checkbox checked


May 06, 2014, 5:22 AM
Please ensure you provide a simplified sample demonstrating the whole scenario. Please remove all code that is not directly related to the problem.

The forum Guidelines are available at the following location(s):



Please wrap all code samples in [CODE] tags.