I want to create a gridview, populate it from a SQL database, but have the first column as a combobox, and the second column an editable textbox. Can someone point me to some code where this exist?
Thank you for letting me post. I went into the wizard and selected the types of controls. My problem is that I am programming in VB 6 and .Net 2005, and for one second I became brain dead.
Holla at ur boyee if this happens to you
0
Jack
Telerik team
answered on 09 Nov 2007, 01:09 PM
Hello David,
Thank you for this question. We will be glad to help you.
To create a grid containing ComboBox and TextBox columns, follow these steps:
Disable the automatic generation of columns through the AutoGenerateColumns property of the GridViewTemplate class.
Create and initialize an instance of the GridViewComboBoxColumn class
Create and initialize an instance of the GridViewTextBoxColumn class
Add these columns to the Columns collection of the RadGridView