or
I'm trying to implement my own date filter which only based on Year, and the following code works when you using
a canlendar to pick the year number, it can shows 2013 when you pick it.
However if you enter year number from textbox, the tooltip will display error, and after invistigation, I found
if I enter 1920 into textbox, it will read first two digis and parse it as 19-08-2013, and when the 3rd digit
entered, it shows a error.
How can I input year number manually?
Thanks.
public override FrameworkElement CreateFieldFilterEditor() { Telerik.Windows.Controls.RadDatePicker datePicker = new Telerik.Windows.Controls.RadDatePicker(); datePicker.DateSelectionMode = Telerik.Windows.Controls.Calendar.DateSelectionMode.Year; datePicker.Culture = new System.Globalization.CultureInfo("en-US"); datePicker.Culture.DateTimeFormat.ShortDatePattern = "yyyy"; //dateTimePicker.InputMode = Telerik.Windows.Controls.InputMode.DatePicker; // This binding will transfer the significant property of your editor to the filtering view model. Binding selectedValueBinding = new Binding("Value"); selectedValueBinding.Mode = BindingMode.TwoWay; selectedValueBinding.FallbackValue = null; selectedValueBinding.Converter = new DateTimeFilterEditorConverter(); datePicker.SetBinding(Telerik.Windows.Controls.RadDatePicker.SelectedValueProperty, selectedValueBinding); return datePicker; } LabelFormatBehavior
if i dont have to show labels than what would i have to do??

Managed Debugging Assistant 'BindingFailure' has detected a problem in 'C:\Code\PlanitV2\PlanIt2\bin\Debug\PlanIt2.exe'.Additional information: The assembly with display name 'Telerik.Windows.Controls.DataVisualization' failed to load in the 'Load' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Windows.Controls.DataVisualization, Version=2013.2.724.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.