RadGridView - Problem Styling in Expression Blend (Invalid XAML)

7 posts, 0 answers
  1. James Miles
    James Miles avatar
    2 posts
    Member since:
    Jan 2010

    Posted 26 Jan 2010 Link to this post

    Hi Guys,

    I'm having trouble styling the "Rad Grid View" in Expression Blend.

    I can drop the RadGridView onto the design surface, however when I click "Edit Additional Templates" & select "Edit RowStyle", the XAML produced can't be loaded by the blend designer.


    Visibility
    ="{Binding HasHierarchy, Converter={StaticResource   
    BooleanToVisibilityConverter}, RelativeSource={RelativeSource TemplatedParent}}"

    (Note: I tried to attach a file including example code however it doesn't work.)

    I'm using;
    RadControls CSharp Silverlight Project
    VisualStudio 2008
    Silverlight 3
    Blend 3 + SketchFlow

    I created the project using your Silverlight C# Rad Controlsolution template.

    Cheers,
    James
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 26 Jan 2010 Link to this post

    Hi James,

    Can you post more info about the grid version? Do you have our latest service pack (Q3 SP2)?

    Sincerely yours,
    Vlad
    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.
  3. DevCraft banner
  4. James Miles
    James Miles avatar
    2 posts
    Member since:
    Jan 2010

    Posted 26 Jan 2010 Link to this post

    I downloaded it yesterday. Version = 2009.3.1314.1030
  5. Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 27 Jan 2010 Link to this post

    Hi James Miles,

    For some reason Blend reports this part of the XAML as invalid although this is not the case. Fixing this or finding a way around it is our top priority at the moment as it destroys the Blend support for the control. We are hopeful these issues will be gone for our 2010.Q1 release.

    I apologize for the inconvenience this is causing you.

    All the best,
    Kalin Milanov
    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.
  6. Robin Das
    Robin Das avatar
    11 posts
    Member since:
    Feb 2010

    Posted 25 Mar 2010 Link to this post

    Hi,

    Was this issue fixed in  2010.Q1.  I get a similar issue when trying to create a cell style, invalid XAML in SL3 and no error in VS from the generated XAML.  I have not made a purchase as yet but it would be good to know before my trial runs out.

    Thanks Rob

  7. Robin Das
    Robin Das avatar
    11 posts
    Member since:
    Feb 2010

    Posted 26 Mar 2010 Link to this post

    Update :

    I found a way around the issue... couldn't tell you exactly but it was a comination of switching to VS, re-building, switching back to SL3, closeing and reloading SL3.

    Appologies for the mini rant in my last post.

    Thanks,
    Rob
  8. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 27 Mar 2010 Link to this post

    If this can help.

    I had a lot of problem styling any Telerik control.  It was always crashing in Blend 3 until I figure out that I was creating my Style in the THIS DOCUMENT instead of the RESOURCE DICTIONARY.

    When I was using RESOURCE DICTIONARY which is what I have every single styling worked.

Back to Top
DevCraft banner