Archive for June, 2013

RadSlideView MeasureOverride error

I needed to use RadSlideView and I started basic ,just like example that Telerik provides and surprise … didn’t work !

I know that I must be doing something wrong … but what?

After some research I got to the RadSlideView  documentation page  http://www.telerik.com/help/windows-phone/radslideview-features-filmstrip.html and observed that

ItemRealizationMode  was set.

Conclusion:

If you have this error on Telerik RadSlideView

System.ExceptionError HRESULT E_FAIL has been returned from a call to a COM component.         
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)         
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement elementSize availableSize)         
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)         
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTargetDouble inWidth, Double inHeight, Double& outWidth, Double& outHeight)

 

Make sure you have ItemRealizationMode  specified!

 

Advertisements

Leave a comment