This is a migrated thread and some comments may be shown as answers.

RadGridView - Problem Styling in Expression Blend (Invalid XAML)

6 Answers 86 Views
GridView
This is a migrated thread and some comments may be shown as answers.
James Miles
Top achievements
Rank 1
James Miles asked on 26 Jan 2010, 02:28 PM
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

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Jan 2010, 02:32 PM
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.
0
James Miles
Top achievements
Rank 1
answered on 26 Jan 2010, 02:39 PM
I downloaded it yesterday. Version = 2009.3.1314.1030
0
Kalin Milanov
Telerik team
answered on 27 Jan 2010, 11:00 AM
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.
0
Robin Das
Top achievements
Rank 1
answered on 26 Mar 2010, 04:17 AM
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

0
Robin Das
Top achievements
Rank 1
answered on 26 Mar 2010, 05:34 AM
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
0
Marc Roussel
Top achievements
Rank 2
answered on 27 Mar 2010, 09:51 PM
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.

Tags
GridView
Asked by
James Miles
Top achievements
Rank 1
Answers by
Vlad
Telerik team
James Miles
Top achievements
Rank 1
Kalin Milanov
Telerik team
Robin Das
Top achievements
Rank 1
Marc Roussel
Top achievements
Rank 2
Share this question
or