Invalid XAML

4 posts, 0 answers
  1. Nino
    Nino avatar
    19 posts
    Member since:
    Apr 2012

    Posted 22 Apr 2013 Link to this post

    Hi there

    I'm using a telerik ListPicker with the following Code:

    <telerikInput:RadListPicker x:Name="listPickerColor" Margin="0" VerticalAlignment="Stretch" SelectionChanged="listPickerColor_SelectionChanged">
         <telerikInput:RadListPicker.ItemTemplate>
              <DataTemplate>
                 <StackPanel Orientation="Horizontal">
                     <Rectangle Fill="{Binding ColorBrush}" Margin="2, 2, 0 0" Width="26" Height="26" />
                     <TextBlock Text="{Binding Text}" Margin="4 0 0 0"/>
                 </StackPanel>
             </DataTemplate>
         </telerikInput:RadListPicker.ItemTemplate>               
     </telerikInput:RadListPicker>

    If I know close and restart Visual Studio i got an error in the designer view that there is invalid XAML. I can build and use the app without any errors. Also the designer shows everything how it should be. So I don't see any problem. But I'm a bit concerned about having Code with an error in it.

    Any Idea whats the reason for this problem?

    thanks
    Nino
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 26 Apr 2013 Link to this post

    Hi Nino,

    Thank you for contacting us. Unfortunately I was unable to reproduce the issue you described.
    Please take a look at this screencast: http://screencast.com/t/w0pz6LjP0FC

    We've had some design time issues in the past but we believe we've managed to fix them. Just a quick question - do you have the latest update (Update 2) of Visual Studio installed?

    Microsoft Visual Studio Premium 2012
    Version 11.0.60315.01 Update 2
    Microsoft .NET Framework
    Version 4.5.50709

    Greetings,
    Kiril Stanoev
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Nino
    Nino avatar
    19 posts
    Member since:
    Apr 2012

    Posted 26 Apr 2013 Link to this post

    Hi

    Thanks for your answer and the link. I'll have a look at the screencast.

    In a previous version I already had this issue. But then the designer wheren't able to render anything at all. That works now. But the error message is still there.

    Yes i have the update installed:

    Microsoft Visual Studio Professional 2012
    Version 11.0.60315.01 Update 2
    Microsoft .NET Framework
    Version 4.5.50709


    Regards
    Nino
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 01 May 2013 Link to this post

    Hello Nino,

    It would be great if you can prepare a screencast demonstrating the issue. Maybe something similar to what I've sent you. This way we can trace the issue and fix it as soon as possible. 

    Regards,
    Kiril Stanoev
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner