yeah.. I used the formattedtext property and got the text. Again, thanks a lot for the immediate response.
>yeah.. I just rebuilt my application and it started working, Thanks a ton..
>I also have another doubt.. I am getting values from the database for populating both the combos.. I am using displaymember and valuemember properties.. That is working fine.. say, for combo1 , value is 1, and the text is "One".. value is 2, the text is "Two".. For populating combo2, I can use the text property of combo1 (that is 1,2,3..etc).. but I need the text''s value also.. How do i get it? At present, when i give grid1(row1,col1).text , it is giving 1..instead of "one"..how do I get "one"?
>>I tried using the CurrentCellShowingDropDown event.. but the breakpoint is not getting fired while i am focussing on the combo.. actually, the breakpoint is not getting fired at all events..Am i on the right track? I tried opening up the project you had given, but it does not have the relevant reference..I am using Syncfusion Essential suite version 1.5.
>>>You can use the CurrentCellShowingDropDown event for this issue. Here is the code snippet, explains a simple way to change the dropdown contents depend on the previous column value.
>>>GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
>>>if(cc.ColIndex == 3)
>>>GridComboBoxCellRenderer cr = cc.Renderer as GridComboBoxCellRenderer;
>>>switch(this.gridDataBoundGrid1[cc.RowIndex,cc.ColIndex - 1].Text)
>>>cr.ListBoxPart.DataSource = null;
>>>for(int i= 0; i < items3.Count; i++)
>>>cr.ListBoxPart.DataSource = theArrayList;
>>>Here is a sample project
>>>Let us know if this helps.