Telerik Forums
UI for WPF Forum
3 answers
162 views
Hi Guys,

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;
      }
Vladi
Telerik team
 answered on 16 Aug 2013
3 answers
141 views
Hi Support,

I was using some logical error validations and this will validate through the cell validating event. It seems that if there is a error in a cell the focus remains in that cell with the error icon. 

Here i need to show the error icon but allow the user to navigate to other cells.

How could i achieve this?

Thanks,
Sankar
Yoan
Telerik team
 answered on 16 Aug 2013
2 answers
131 views
Hi,

Can you recommend how I may be able to make the MergeField dropdown list scrollable?
The current dropdown list is limited to the height of my display and is cutting off the list items at the bottom of the list (see the attached image).

Many thanks,

Rob
Robert
Top achievements
Rank 1
 answered on 16 Aug 2013
2 answers
433 views
i am not able to remove labels in chartarea of radchart....the property i can see only related to label is that
LabelFormatBehavior

if i dont have to show labels than what  would i have to do??

Thanks,
Kapil Garg
Sudhanshu
Top achievements
Rank 2
 answered on 16 Aug 2013
1 answer
108 views
Hi,

When i try to add a RadRibbonTab at runtime with the binaries noxaml, the RadRibbonTab is well added in the Items collection but not rendered.
You can found a sample project here. 

They are two projects one with normal binaries and one with noxaml binaries. When i click on button "Add new tab" when using no-xaml nothing happend, when i use the normal binaries it's working.
Is it a problem with the implicit theme ?

Thanks


Kiril Vandov
Telerik team
 answered on 16 Aug 2013
1 answer
99 views
Hi,

is there any example where you mix the "Drag & Drop" - "Filtering"  and "Grouping" Example?

Thanks
Best Regards
R
Rosi
Telerik team
 answered on 16 Aug 2013
1 answer
117 views
Dear Telerik,

I've created a custom merge field and it works fine. Now I d like to add an extra metadata property (e.g. a GUID in string rep.)
I've overwritten the CopyPropertiesFrom method to copy the extra property. It gets inserted into the xaml (when saved), however when doing a 'merge preview', the custom mergefield is copied (a new instance is created) without calling the CopyPropertiesFrom, instead it calls the CopyPropertiesFromCodeExpression method, where I cannot copy the extra meta data property.

So my question is how to create and fully implement extra properties in custom merge fields.

Kind regards
Petya
Telerik team
 answered on 16 Aug 2013
1 answer
320 views
Hi,
Could you please suggest which control to use which would be similar to a Password box.
I have to use Telerik Controls for WPF.

Thanks in advance


Shruti
Petar Mladenov
Telerik team
 answered on 16 Aug 2013
1 answer
275 views
Hello,

I'm developing an application using WPF on .NET 4.5/C#.  I have a simple page that contains a RadTimeline.  The control displays just fine in the designer, but when I run the app and navigate to the page, it crashes to desktop with the error:

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.

I have tried other controls from the DataVisualization .dll and all behave the same way (crash to desktop).

I've verified that the .DLL is actually in the build folder.  I've restarted VS and my system.  I have removed and re-added the references to the appropriate DLLs.  I've run repair on the control suite using the Telerik control panel.  I've uninstalled and reinstalled the control suite. I've removed everything from the WPF page except a single control.

Any ideas?

Thanks!

Matthew
Matt
Top achievements
Rank 1
 answered on 15 Aug 2013
4 answers
353 views
Hi,

with data annoations (DisplayAttribute) it is possible to create custom descriptions for the filtered properties. But unfortunately the DisplayAttribute is sealed. So it is not possible to inherit from this Attribute to implement internationalization from resource files. (I did something equal with the DescriptionAttribute which is not sealed). Is it possible to create custom property descriptions in a different way? Perhaps with ItemPropertyInfo class? At first sight it seems that it is not possible. In constructor of ItemPropertyInfo you can set name, type and descriptor. Name is obviously used for creating FilterDescriptors so the name must represent the real path to the property and could not be a user readable name. The type is the type ;-) And the descriptor is a PropertyInfo instance which contains the real name of the property again. Is there a way to accomplish my request?

Best regards,
Oliver
Dimitrina
Telerik team
 answered on 15 Aug 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?