Hi there,
I updateted to SL4 and the latest Version (2010.1.309.1030) of your controls. When I now Click on a editable ComboBox I get a unhandled exception:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
Timestamp: Mon, 26 Apr 2010 10:59:09 UTC
Message: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: The property 'System.Windows.Controls.Panel.Children' is set more than once. [Line: 725 Position: 36]
bei MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
bei MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
bei MS.Internal.XcpImports.FrameworkElement_ApplyTemplate(FrameworkElement frameworkElement)
bei System.Windows.Controls.ItemContainerGenerator.LayoutStatesManager.GetElementRoot(Boolean templatesAreGenerated)
bei System.Windows.Controls.ItemContainerGenerator.LayoutStatesManager.Load()
bei System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.PrepareItemContainer(DependencyObject container)
bei System.Windows.Controls.ItemsControl.AddVisualChild(Int32 containerIndex, DependencyObject container, Boolean needPrepareContainer)
bei System.Windows.Controls.ItemsControl.AddContainers()
bei System.Windows.Controls.ItemsControl.RecreateVisualChildren(IntPtr unmanagedObj)
--- Ende der internen Ausnahmestapelüberwachung ---
bei MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
bei MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
bei MS.Internal.XcpImports.FrameworkElement_ApplyTemplate(FrameworkElement frameworkElement)
bei System.Windows.Controls.ScrollContentPresenter.HookupScrollingComponents()
bei System.Windows.Controls.ScrollContentPresenter.OnApplyTemplate()
bei System.Windows.FrameworkElement.OnApplyTemplate(IntPtr nativeTarget)
Line: 62
Char: 13
Code: 0
URI: http://localhost:4044/Default.aspx
This is my Control:
<TelerikInput:RadComboBox IsEditable="True" IsReadOnly="True"
Telerik:TextSearch.TextPath="Description_Short"
SelectedIndex="0"
Height="25"
DropDownClosed="cbLayout_DropDownClosed"
KeyDown="cbLayout_KeyDown"
x:Name="cbLayout">
<TelerikInput:RadComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Margin="0,3,0,3" Orientation="Horizontal">
<TextBlock Text="{Binding Description_Short}"/>
<TextBlock Text=" - "/>
<TextBlock Text="{Binding Description_Long}"/>
</StackPanel>
</DataTemplate>
</TelerikInput:RadComboBox.ItemTemplate>
</TelerikInput:RadComboBox>
Best Regards,
Alex
I updateted to SL4 and the latest Version (2010.1.309.1030) of your controls. When I now Click on a editable ComboBox I get a unhandled exception:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
Timestamp: Mon, 26 Apr 2010 10:59:09 UTC
Message: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0] ---> System.Windows.Markup.XamlParseException: The property 'System.Windows.Controls.Panel.Children' is set more than once. [Line: 725 Position: 36]
bei MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
bei MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
bei MS.Internal.XcpImports.FrameworkElement_ApplyTemplate(FrameworkElement frameworkElement)
bei System.Windows.Controls.ItemContainerGenerator.LayoutStatesManager.GetElementRoot(Boolean templatesAreGenerated)
bei System.Windows.Controls.ItemContainerGenerator.LayoutStatesManager.Load()
bei System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.PrepareItemContainer(DependencyObject container)
bei System.Windows.Controls.ItemsControl.AddVisualChild(Int32 containerIndex, DependencyObject container, Boolean needPrepareContainer)
bei System.Windows.Controls.ItemsControl.AddContainers()
bei System.Windows.Controls.ItemsControl.RecreateVisualChildren(IntPtr unmanagedObj)
--- Ende der internen Ausnahmestapelüberwachung ---
bei MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
bei MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
bei MS.Internal.XcpImports.FrameworkElement_ApplyTemplate(FrameworkElement frameworkElement)
bei System.Windows.Controls.ScrollContentPresenter.HookupScrollingComponents()
bei System.Windows.Controls.ScrollContentPresenter.OnApplyTemplate()
bei System.Windows.FrameworkElement.OnApplyTemplate(IntPtr nativeTarget)
Line: 62
Char: 13
Code: 0
URI: http://localhost:4044/Default.aspx
This is my Control:
<TelerikInput:RadComboBox IsEditable="True" IsReadOnly="True"
Telerik:TextSearch.TextPath="Description_Short"
SelectedIndex="0"
Height="25"
DropDownClosed="cbLayout_DropDownClosed"
KeyDown="cbLayout_KeyDown"
x:Name="cbLayout">
<TelerikInput:RadComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Margin="0,3,0,3" Orientation="Horizontal">
<TextBlock Text="{Binding Description_Short}"/>
<TextBlock Text=" - "/>
<TextBlock Text="{Binding Description_Long}"/>
</StackPanel>
</DataTemplate>
</TelerikInput:RadComboBox.ItemTemplate>
</TelerikInput:RadComboBox>
Best Regards,
Alex