hi there--
i'm new to silverlight, so i may be doing something wrong, but i'm having trouble with the design views in both VS and Expression Blend whenever i put more than one combobox on a page. it builds fine and loads fine in a browser, but in VS, it gives the following error:
TIA for any help/suggestions!
jon
p.s. some sample code:
<UserControl xmlns:my="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" x:Class="iplan.SilverlightControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<StackPanel>
<my:RadComboBox></my:RadComboBox>
<my:RadComboBox></my:RadComboBox>
</StackPanel>
</UserControl>
i'm new to silverlight, so i may be doing something wrong, but i'm having trouble with the design views in both VS and Expression Blend whenever i put more than one combobox on a page. it builds fine and loads fine in a browser, but in VS, it gives the following error:
Error HRESULT E_FAIL has been returned from a call to a COM component.a similar error appears in Expression Blend:
at System.Windows.Media.Imaging.RenderTargetBitmap.Render(UIElement visual)
at MS.Internal.Silverlight.Host.RuntimeInterop.RenderElementToTargetBitmap(Int32 elementKey, Int32 targetBitmapIdentifier)
at MS.Internal.Silverlight.Host.Interop.RenderElementToTargetBitmap(Int32 element, Int32 targetBitmapIdentifier, ISilverlightContentDownloadCallback urlcallback)
at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.UpdateBitmap()
at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.UpdateTree()
at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.note that i'm able to load (for example) 2 RadDatePickers or a RadComboBox and a RadDatePicker, but 2 RadComboBoxes gives me the error.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at System.Windows.DependencyObject.MethodEx(String methodName, CValue[] cvData)
at System. Windows.UIElement.UpdateLayout()
TIA for any help/suggestions!
jon
p.s. some sample code:
<UserControl xmlns:my="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" x:Class="iplan.SilverlightControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<StackPanel>
<my:RadComboBox></my:RadComboBox>
<my:RadComboBox></my:RadComboBox>
</StackPanel>
</UserControl>