at Microsoft.Internal.GDIExporter.CopyTo(UInt16& buffer, Int32 len, String s)
at Microsoft.Internal.GDIExporter.CGDIRenderTarget.CreateFontW(GlyphRun pGlyphRun, Double fontSize, Double scaleY)
at Microsoft.Internal.GDIExporter.CGDIRenderTarget.RenderTextThroughGDI(GlyphRun pGlyphRun, Brush pBrush)
at Microsoft.Internal.GDIExporter.CGDIRenderTarget.DrawGlyphRun(Brush pBrush, GlyphRun glyphRun)
at Microsoft.Internal.AlphaFlattener.BrushProxyDecomposer.Microsoft.Internal.AlphaFlattener.IProxyDrawingContext.DrawGlyphs(GlyphRun glyphrun, Geometry clip, Matrix trans, BrushProxy foreground)
at Microsoft.Internal.AlphaFlattener.PrimitiveRenderer.DrawGlyphs(GlyphRun glyphrun, Rect bounds, Matrix trans, String desp)
at Microsoft.Internal.AlphaFlattener.Flattener.AlphaRender(Primitive primitive, List`1 overlapping, Int32 overlapHasTransparency, Boolean disjoint, String desp)
at Microsoft.Internal.AlphaFlattener.Flattener.AlphaFlatten(IProxyDrawingContext dc, Boolean disjoint)
at Microsoft.Internal.AlphaFlattener.Flattener.Convert(Primitive tree, ILegacyDevice dc, Double width, Double height, Double dpix, Double dpiy, Nullable`1 quality)
at Microsoft.Internal.AlphaFlattener.MetroDevice0.FlushPage(ILegacyDevice sink, Double width, Double height, Nullable`1 outputQuality)
at Microsoft.Internal.AlphaFlattener.MetroToGdiConverter.FlushPage()
at System.Windows.Xps.Serialization.NgcSerializationManager.EndPage()
at System.Windows.Xps.Serialization.NgcDocumentPageSerializer.SerializeObject(Object serializedObject)
at System.Windows.Xps.Serialization.NgcDocumentPaginatorSerializer.SerializeObject(Object serializedObject)
at System.Windows.Xps.Serialization.NgcSerializationManager.SaveAsXaml(Object serializedObject)
at System.Windows.Xps.XpsDocumentWriter.SaveAsXaml(Object serializedObject, Boolean isSync)
at System.Windows.Xps.XpsDocumentWriter.Write(DocumentPaginator documentPaginator)
at System.Windows.Controls.PrintDialog.PrintDocument(DocumentPaginator documentPaginator, String description)
at Telerik.Windows.Documents.Fixed.Print.PrintManager.Print(PrintSettings settings)
at Telerik.Windows.Controls.FixedDocumentViewerBase.Print(PrintSettings settings)
at Telerik.Windows.Controls.FixedDocumentViewerBase.Print()

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; }