embed listview in Combobox (Urgent)
-
Hi all, I want to add the ListView Control in the Combobox control of vb.net as I want to show the multiple columns in the combo box SO I want to achieve this functionality with list view AS the user Click on down arrow of Combo Box that will show the listview
populateListView() Me.ComboBox1.Controls.Add(listview1)
But I am Not Successful Its very urgent for me I will highly appreciate Any help Thanks in advance Hema Chaudhry -
Hi all, I want to add the ListView Control in the Combobox control of vb.net as I want to show the multiple columns in the combo box SO I want to achieve this functionality with list view AS the user Click on down arrow of Combo Box that will show the listview
populateListView() Me.ComboBox1.Controls.Add(listview1)
But I am Not Successful Its very urgent for me I will highly appreciate Any help Thanks in advance Hema ChaudhryNo need 2 create that its already there.. follow link http://www.codeproject.com/vb/net/MultiColumnFlatCombo.asp enjoy!! Sufyan,
-
No need 2 create that its already there.. follow link http://www.codeproject.com/vb/net/MultiColumnFlatCombo.asp enjoy!! Sufyan,
Thanks for reply But I have seen these all links of multiColumnComboBox They are not working with my datagrid The link which u suggest has the limitation that it limits the Column Numbers (Only 4) for the MultiCOlCombo http://www.codeproject.com/vb/net/MultiColumnFlatCombo.asp[^] So I want to generate my own Control So that that control can be embed with datagrid. I think Controls can't be added with the DatagridTextBoxColumn I m right/not???????? Hema Chaudhry
-
Thanks for reply But I have seen these all links of multiColumnComboBox They are not working with my datagrid The link which u suggest has the limitation that it limits the Column Numbers (Only 4) for the MultiCOlCombo http://www.codeproject.com/vb/net/MultiColumnFlatCombo.asp[^] So I want to generate my own Control So that that control can be embed with datagrid. I think Controls can't be added with the DatagridTextBoxColumn I m right/not???????? Hema Chaudhry
Hema! i think u can add controls in data grid as i 've heared about this and hve jsu added a lisbox in a grid it works..keep it up .. Sufyan,
-
Hema! i think u can add controls in data grid as i 've heared about this and hve jsu added a lisbox in a grid it works..keep it up .. Sufyan,
hi SUfyan, Thanks for prompt reply, Acutally i have craete a userControl in vb.net for multiColumn COmboBox But when I embed that User Control that will not work??? But If i add a toolbox Contorl like CheckBox etc they are working fine with the datagrid. So I find the conclussion that 1. There may the problem with my user control(Although its working fine on Form)But not with that datagrid. 2. There may a chance that the winforms datagrid may not support User Controls.???????????????? Hope for early relply Thanks a lot Hema Chaudhry
-
hi SUfyan, Thanks for prompt reply, Acutally i have craete a userControl in vb.net for multiColumn COmboBox But when I embed that User Control that will not work??? But If i add a toolbox Contorl like CheckBox etc they are working fine with the datagrid. So I find the conclussion that 1. There may the problem with my user control(Although its working fine on Form)But not with that datagrid. 2. There may a chance that the winforms datagrid may not support User Controls.???????????????? Hope for early relply Thanks a lot Hema Chaudhry
Well! i think first problem option my b there otherwise if simple control gets added then user defined control should be added as well.. thanks Sufyan,