This is a migrated thread and some comments may be shown as answers.

[Solved] bind Combobox on Row of grid

1 Answer 112 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Piyush Vardhan
Top achievements
Rank 1
Piyush Vardhan asked on 28 May 2008, 07:06 AM
How to bind combo box  on the row of grid without using  of GridEditCommandColumn.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 May 2008, 09:37 AM
Hi,

Try adding the ComboBox in the ItemTemplate of a GridTemplateColumn as shown below.

ASPX:
 <telerik:GridTemplateColumn UniqueName="TempCol" HeaderText="TempCol" > 
                    <ItemTemplate> 
                        <telerik:RadComboBox ID="RadComboBox1" runat="server" DataSourceID="SqlDataSource1" DataTextField="ProductName"     DataValueField="ProductName" > 
                        </telerik:RadComboBox> 
                    </ItemTemplate> 
                  </telerik:GridTemplateColumn> 


Thanks
Princy.
Tags
ComboBox
Asked by
Piyush Vardhan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or