When I open WPF designer to preview design I always have exception "InvalidOperationException: 'RadComboBox' TargetType does not match type of element 'NumberComboBox'."
I think, we have problem with controls in the Properties window.
7 Answers, 1 is accepted
Thank you for the provided image.
We're not sure what is exactly the reason for this issue in the designer. I would ask you to check whether all the referenced Telerik assemblies are of the same version and from the same location? Also is the design folder present together with them? Do you use NoXaml binaries, which theme is set to the Telerik WPF controls? Any additional information you could provide on the setup that you're using will be helpful.
I am looking forward to your reply.
Regards,
Dinko
Progress Telerik

Hello, Dinko,
I'm using all assemblies of the same version and from the same location, OfficeBlack theme, xaml binaries, location of the assemblies is different than solution folder.
Thank you.
Thank you for the additional information.
Could you please share some more details about the exact scenario? Have you applied any custom styles? If you are able to send some sample code reproducing the issue that would be really helpful.
Regards,
Dinko
Progress Telerik

Hello Dinko,
we are using our own custom controls which are based on the Telerik controls like bellow:
<input:InputControlNew x:Class="Framework.Controls.Input.DateBox"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:input="clr-namespace:Framework.Controls.Input"
xmlns:System="clr-namespace:System;assembly=mscorlib"
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
x:Name="_this">
<input:InputControlNew.InternalContent>
<telerik:RadDatePicker x:Name="InternalRadDatePicker"
telerikControls:StyleManager.Theme="Office_BlackTheme"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
VerticalContentAlignment="Center"
Padding="4,0,4,0"
MinWidth="90"
InputMode="{Binding Path=InputMode, ElementName=_this}"
SelectionOnFocus="Default"
DateTimeWatermarkContent=""
HorizontalContentAlignment="{Binding Path=InternalHorizontalContentAlignment, ElementName=_this}"
TextAlignment="{Binding Path=InternalTextAlignment, ElementName=_this}"
TabIndex="{Binding Path=TabIndex, ElementName=_this}"
IsTabStop="{Binding Path=InternalIsTabStop, ElementName=_this}"
IsReadOnly="{Binding Path=InternalIsReadOnly, ElementName=_this}"
SelectedValue="{Binding Path=Value, ElementName=_this, Mode=TwoWay}"
SelectableDateStart="{Binding Path=SelectableDateStart, ElementName=_this}"
SelectableDateEnd="{Binding Path=SelectableDateEnd, ElementName=_this}"/>
</input:InputControlNew.InternalContent>
</input:InputControlNew>
in the Silverlight designer we do not have such problems
Thank you for the provided code snippet.
Looking at the code snippet I am not sure what kind of control is InputControlNew. Can you specify which control from our suite is this InputControlNew inheriting?
Regards,
Dinko
Progress Telerik

Hello Dinko,
Our base control InputControlNew inheriting from System.Windows.Controls.UserControl
Thank you for the additional information.
I have created a sample project based on the provided information. You can find it attached to this reply. May I ask you to take a look at this project and let me know what I need to modify, add to reproduce this error on my side.
Regards,
Dinko
Progress Telerik