Table l_Table = new Table();l_Table.LayoutMode = TableLayoutMode.AutoFit;ownerSection.Blocks.Add(l_Table);foreach (IFeatureViewModel l_Node in treeViewModel.Nodes){ TableRow l_Row = new TableRow(); l_Table.Rows.Add(l_Row); Table l_InnerTable = new Table(); l_InnerTable.LayoutMode = TableLayoutMode.AutoFit; TableCell l_InnerCell = new TableCell(); l_Row.Cells.Add(l_InnerCell); l_InnerCell.Borders = new TableCellBorders(0.5f, BorderStyle.Single, System.Windows.Media.Colors.Red); l_InnerCell.Blocks.Add(l_InnerTable); TableRow l_InnerRow = new TableRow(); l_InnerTable.Rows.Add(l_InnerRow); ....
I created custom RadDataFilter , which contains dropdown list. DropDown List is OK. Now here is new requirement, I want to add telerik DateTimePicker. DateTimePicker Bind successfully, problem is that I can’t get selected date value. Therefore FilterDesripter.value is not set.
For Combobox here is template
<DataTemplate x:Key="ComboBoxEditor">
<telerik:RadComboBox SelectedValue="{Binding Value, Mode=TwoWay, FallbackValue=null}" MinWidth="100" />
</DataTemplate>
But how I’ll set selectedDate Value, here is my Code.
<DataTemplate x:Key="DateTimeEditor">
< telerik:DatePicker MinWidth="100" SelectedDate="{Binding Value}"></my:DatePicker>
</DataTemplate>
I'm using the MVVM pattern such that I've got a comboboxColumn bound to a datasource.
My intention was whatever the user select, it should update the description of another column. At the moment it is not updating. The underlying data has changed but not refreshed.
What am I missing?