SL3 VS-2008 Designer Error

3 posts, 0 answers
  1. Jim
    Jim avatar
    52 posts
    Member since:
    Apr 2009

    Posted 02 Jul 2009 Link to this post

    SL3 Beta - Visual Studio SP1

    I created a new solution and added the following to my Main.xaml page:

    <UserControl xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"   
        Width="400" Height="300"
        <Grid x:Name="LayoutRoot" Background="White"
                <telerikNavigation:RadMenuItem Header="Hello There"/> 

    I am unable to 'preview' this or work with the design surface.  I imagine I haven't set something up correctly but i'll be darned if I can figure it out.

    The project runs just fine, I just can't use the designer surface. 

    Even though my solution builds OK I am receiving the error:
    Error 1 AG_E_UNKNOWN_ERROR [Line: 16 Position: 42] E:\Documents and Settings\jmonkey\My Documents\Visual Studio 2008\Projects\TestDesigner\TestDesigner\MainPage.xaml 8 4 TestDesigner

    Any thoughts on how I can track this down further?
  2. Boyan
    Boyan avatar
    758 posts

    Posted 07 Jul 2009 Link to this post

    Hi Jim,

    Design time is not supported in Silverlight 3 and this is the reason that you don't see it. Microsoft are having some problems with the Design time but they promised it will be available in VS 2010.

    I was unable to reproduce the error as your Xaml worked fine on my side. Are you getting the error just after you have ran the project or at some other point? I am asking because this error sometimes shows out of nowhere and after building it disappears or sometimes after closing all XAML files and opening them again. And could you specify what version of our controls and Silverlight 3 are you using?

    Best wishes,
    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. Jim
    Jim avatar
    52 posts
    Member since:
    Apr 2009

    Posted 13 Jul 2009 Link to this post

    Hi Boyan -

    I just installed Silverlight 3 - RTM or whatever the latest is... (2.0.5... ) I noticed the lack of design surface (you can pull it up if you are sneaky)

    The error only occured when I tried to 'reload the designer'.  The code otherwise runs and displays fine. I think we can mark this up to VS2008 isn't really ready to support the designer.

    Thanks for the help and please consider this issue closed.

    Jim -- Infovisa
Back to Top