This question is locked. New answers and comments are not allowed.
In the Silverlight 3 DataGrid, I have some code like this:
for (int x = 0; x < ThisForecast.PeriodNames.Count; x++)
{
var TextColumn = new DataGridTextColumn();
TextColumn.Header = ThisForecast.PeriodNames[x];
TextColumn.Binding = new Binding(String.Format("Periods[{0}].Quantity", x));
TextColumn.Binding.Converter = Resources["CountConverter"] as IValueConverter;
TextColumn.Binding.Mode = BindingMode.TwoWay;
TextColumn.IsReadOnly = false;
dgItemForecast.Columns.Add(TextColumn);
}
Now, in trying the Q3 beta, I have code like this:
And the GridView does not seem to be able to handle it. Is there a way to do this functionality in the Telerik controls?
for (int x = 0; x < ThisForecast.PeriodNames.Count; x++)
{
var TextColumn = new DataGridTextColumn();
TextColumn.Header = ThisForecast.PeriodNames[x];
TextColumn.Binding = new Binding(String.Format("Periods[{0}].Quantity", x));
TextColumn.Binding.Converter = Resources["CountConverter"] as IValueConverter;
TextColumn.Binding.Mode = BindingMode.TwoWay;
TextColumn.IsReadOnly = false;
dgItemForecast.Columns.Add(TextColumn);
}
Now, in trying the Q3 beta, I have code like this:
for (int x = 0; x < ThisForecast.PeriodNames.Count; x++)
{
var TextColumn = new GridViewDataColumn();
TextColumn.Header = ThisForecast.PeriodNames[x];
TextColumn.DataMemberBinding = new Binding(String.Format("Periods[{0}].Quantity", x));
TextColumn.DataMemberBinding.Converter = Resources["CountConverter"] as IValueConverter;
TextColumn.DataMemberBinding.Mode = BindingMode.TwoWay;
TextColumn.IsReadOnly = false;
dgItemForecast.Columns.Add(TextColumn);
}
And the GridView does not seem to be able to handle it. Is there a way to do this functionality in the Telerik controls?