This question is locked. New answers and comments are not allowed.
Hey Telerik folks,
This is an odd one... I started playing with RadMediaPlayer today and keep running into this error:
This prompts me to reload the designer, but after doing that the designer is blank for a few seconds and I receive the same message. Now, funny thing is that when I run the project it loads just fine... Here is what I have for my Xaml:
Any ideas are welcome. :)
This is an odd one... I started playing with RadMediaPlayer today and keep running into this error:
Error HRESULT E_FAIL has been returned from a call to a COM component. |
at MS.Internal.XcpImports.CheckHResult(UInt32 hr) |
at MS.Internal.XcpImports.RenderTargetBitmapRender(HostingRenderTargetBitmap bitmap, UIElement visual, Int32& dirtyX, Int32& dirtyY, Int32& dirtyWidth, Int32& dirtyHeight) |
at System.Windows.Interop.HostingRenderTargetBitmap.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.UIElement.UpdateLayout() |
at System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) |
at System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) |
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) |
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) |
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) |
This prompts me to reload the designer, but after doing that the designer is blank for a few seconds and I receive the same message. Now, funny thing is that when I run the project it loads just fine... Here is what I have for my Xaml:
<UserControl xmlns:telerikMedia="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.MediaPlayer" x:Class="SilverlightApplication17.Page" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
Width="400" Height="300"> |
<Grid x:Name="LayoutRoot" Background="White"> |
<Grid.ColumnDefinitions> |
<ColumnDefinition /> |
</Grid.ColumnDefinitions> |
<Grid.RowDefinitions> |
<RowDefinition /> |
</Grid.RowDefinitions> |
<telerikMedia:RadMediaPlayer AutoPlaylistAdvance="True" MinWidth="200" Grid.Column="0" |
Grid.Row="0"> |
<telerikMedia:RadMediaItem |
Source="http://mschnlnine.vo.llnwd.net/d1/ch9/7/1/5/1/2/4/DynamicsDuoCRMSilverlight_ch9.wmv" |
ImageSource="http://neosmart.net/blog/wp-content/uploads/microsoft-silverlight.png" |
Title="The Dynamics Duo talk about CRM and Silverlight" /> |
</telerikMedia:RadMediaPlayer> |
</Grid> |
</UserControl> |
Any ideas are welcome. :)