RadControls for Silverlight Q1 and Preview

4 posts, 0 answers
  1. David
    David avatar
    5 posts
    Member since:
    Dec 2008

    Posted 16 Mar 2009 Link to this post

    I have just purchased the Q1 release, and I can't seem to get most of the RadControls to display in design mode in either VS2008 or Blend. I am using Visual Studio 2008 SP1 and Blend 2 SP1 on Vista 32 SP1.

    I first noticed the problem with the examples. Finally, I created a fresh Silverlight application and added just single RadControls to the default Grid, and I get either a blank preview or an exception stack trace. However, if I compile and run, the controls appear and seem to function correctly. Is it possible there is a problem with the *.Design DLL's?

    I initially installed the MSI version, then replaced the DLL's with the ones in the ZIP download...same results. I remember using the trial version of the previous release and I didn't have any problems like this. Incidentally, this is not a case of old DLL's hangiing around from the earlier trial...I am using a freshly re-formatted and re-installed version of Vista 32 (done for an unrelated reason).

    Here is the exception trace after adding just a RadDocking control:

    Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    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)

    Dave

  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 17 Mar 2009 Link to this post

    Hello David,

    I will start with design-time of our examples. There seem to be some issue with Visual Studio that prevents our examples from showing in design time. We found solution for this problem so for the next service pack all our examples will be have design-time in Visual Studio and Blend.

    For Blend design time - you should update your copy of System.Windows.Controls.Data.
    More information here:
    http://www.telerik.com/community/forums/silverlight/gridview/radgrid-manifest-error-on-blend.aspx#768279

    About RadDocking design time we found some issues with Blend that we will fix for the next service pack. If this is a show-stopper for you just let me know and I'll send you the hotfix.

    It seem that there are some known issues with Silverlight Design-time in Visual Studio.
    For example:

    Preview window shows error if reopened

    Occasionally, when the Preview window or XAML View opens, an error is displayed. This can occur if the last instance of the Preview window was closed and reopened without rebuilding the project. To work around this issue, try the following:

    ·          Always leave open at least one view of a XAML document in your project.

    ·          Rebuild the project.

    ·          If your project will not build, close and reload the project, or close and reopen Visual Studio.


    You can read more about Silverlight known issues here:
    http://www.microsoft.com/silverlight/resources/readme.aspx?v=2.0

    I hope that this post will bring some light over the design-time issues that you have.
    Let me know if you have more troubles. I'll be glad to help.

    All the best,
    Hristo
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Mindtrio
    Mindtrio avatar
    2 posts
    Member since:
    Oct 2006

    Posted 07 Sep 2009 Link to this post

    Hi, I have the exact same issue, can you supply me with the hotfix?
  4. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 07 Sep 2009 Link to this post

    Hi Mindtrio,

    All issues should had been resolved until this point. Try downloading the latest version of the controls and tell us if you experience any problems with it.

    Best wishes,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top