Hi I am uisng silverlight 4.0 , MVVM , RIA services,
I have created two properties TO_ALERT_PAGE and TO_EMAIL, I set values of this properties at runtime.
When I use windows grid it works fine but when I use teleric I get error TO_ALERT_PAGE and TO_EMAIL property not found.
I tried with GridViewCheckBoxColumn and GridViewDataColumn but getting same error.
Can you please help me to resolve this error
Please find below Teleric and Windows Grid Code.
<Grid> <telerik:RadGridView x:Name="MANameList" HorizontalAlignment="Stretch" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" AutoGenerateColumns="False" ItemsSource="{Binding PagedSource, ElementName=radDataPager1}" SelectedItem="{Binding SelectedManualRecord,Mode=TwoWay}"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Target Type" DataMemberBinding="{Binding TARGET_TYPE}" IsGroupable="False" IsFilterable="False" IsReadOnly="True" /> <telerik:GridViewDataColumn Header="Target Name" DataMemberBinding="{Binding TARGET_NAME}" IsSortable="False" IsGroupable="False" IsFilterable="False" IsReadOnly="True" /> <telerik:GridViewDataColumn Header="To Alert Page" IsSortable="False" IsGroupable="False" IsFilterable="False" IsReadOnly="False"> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate> <CheckBox IsChecked="{Binding Binding TO_ALERT_PAGE, Mode=TwoWay}" /> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate> </telerik:GridViewDataColumn> <telerik:GridViewCheckBoxColumn Header="To Email" DataMemberBinding="{Binding Binding TO_EMAIL, Mode=TwoWay}" IsSortable="False" IsGroupable="False" IsFilterable="False" IsReadOnly="False" /> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid>
************************************
WINDOWS GIRD WORKING CODE
<sdk:DataGrid x:Name="MANameList" HorizontalAlignment="Stretch" Grid.Row="0" Grid.Column="0"
Grid.ColumnSpan="2" AutoGenerateColumns="False"
ItemsSource="{Binding ManualAlertCollection}"
SelectedItem="{Binding SelectedManualRecord,Mode=TwoWay}">
<sdk:DataGrid.Columns>
<sdk:DataGridTextColumn IsReadOnly="True" Binding="{Binding TARGET_TYPE}" Header="Target Type"/>
<sdk:DataGridTextColumn IsReadOnly="True" Binding="{Binding TARGET_NAME}" Header="Target Name"/>
<sdk:DataGridCheckBoxColumn IsReadOnly="False" Binding="{Binding TO_ALERT_PAGE, Mode=TwoWay}" Header="To Alert Page" />
<sdk:DataGridCheckBoxColumn IsReadOnly="False" Binding="{Binding TO_EMAIL, Mode=TwoWay}" Header="To Email" />
</sdk:DataGrid.Columns>
</sdk:DataGrid>