Hi all, I am developing an application in silverlight. I have a grid view and it has a cell template radcombobox. I want to bind this radcombobox with data in sharepoint list. I am giving xaml code here. Can anyone tell me how can I bind combobox in gridview? <grid:RadGridView x:Name="grid" Margin="100,110,50,50" RowIndicatorVisibility="Collapsed" IsReadOnly="True" AutoGenerateColumns="False" CanUserFreezeColumns="False" CanUserResizeColumns="False" Width="520" Height="270" > |
<grid:RadGridView.Columns> |
<grid:GridViewDataColumn x:Name="Column1" Header="Column Header" HeaderTextAlignment="Center" Width="150" TextAlignment="Center"/> |
<grid:GridViewDataColumn x:Name="Column2" HeaderText="Header Text2" HeaderTextAlignment="Center" Width="200"> |
<grid:GridViewDataColumn.CellTemplate> |
<DataTemplate> |
<telerikInput:RadComboBox x:Name="cbGrid" SelectedIndex="0" > |
</DataTemplate> |
</grid:GridViewDataColumn.CellTemplate> |
</grid:GridViewDataColumn> |
</grid:RadGridView.Columns> |
</grid:RadGridView> |
Waiting for your reply.
Thanks in advance.
--Kaustubh