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

No preview for RadGridView in Blend

4 Answers 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ubiquitous
Top achievements
Rank 1
Ubiquitous asked on 14 Nov 2008, 04:27 AM

Hi there,

We are trying to incorporate RadGridView (RadControls for WPF Q2 2008) into our solution with Blend.

However we are unable to preview the Grid and that's odd, because it does work perfectly fine when copy&pasting the XAML code into any other solution that we have tested.

We are working on a large WPF application using .NET Framework 3.5 and yes, we have added all references to Telerik dlls.

Any clues as to what is preventing the preview of of the RadGrid View from within Blend?

Thank you all.

Rafael Minuesa

4 Answers, 1 is accepted

Sort by
0
Hristo Deshev
Telerik team
answered on 17 Nov 2008, 03:02 PM
Hello Ubiquitous,

I just posted a similar reply to your support ticket, but I think it would be great to have the discussion here as well, as others may help in identifying the problem.

I tried dropping RadGridView on a Window or a UserControl, and it seems to be working fine on my end. DataTemplate editing is a problem, because Blend would not insert the appropriate xmlns:telerik="..." line in order for the XAML parser to properly resolve the <telerik:RadGridView ... /> tag. While we are researching possible ways to work around that, we can get some help in reproducing the "can't preview" problem on our end.

I would really appreciate a XAML snippet or a sample project that reproduces the issue. Thanks!

All the best,
Hristo Deshev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sid
Top achievements
Rank 1
answered on 24 Nov 2008, 03:37 PM
I am getting the same problem, I get an error "Object reference not set to an instance of an object".  This project was originally started in VS2008 and then I opened it in Blend, (not sure that is an issue but I'm just starting to try and resolve this).  The project builds OK and runs.

When I opened a new project in Blend and dropped a Radgridview it worked just fine.

So there must be something in the xmlns?

-Sid Meyers.

PS: I did just confirm that if you create the WPF application in VS2008 drop a Radgridview on the window1.xaml, then try and open the file in Blend it will not display.
0
Sid
Top achievements
Rank 1
answered on 24 Nov 2008, 11:14 PM
OK.  I seem to have this working now.  With all the testing and loading and demos and testing and loading and demos, who knows what state my system was in?

I uninstalled VS2005 and did a repair on VS2008 and actually rebooted my system.  Somewhere in this process it is now working.

Don't know what reference or registration was messed up, but all is well.  Well, except that I still have tons of learning to do!!

Thanks,
-Sid.
0
Hristo Deshev
Telerik team
answered on 26 Nov 2008, 08:35 AM
Hello Sid,

Thank you for sharing the fix for your problem!

Greetings,
Hristo Deshev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Ubiquitous
Top achievements
Rank 1
Answers by
Hristo Deshev
Telerik team
Sid
Top achievements
Rank 1
Share this question
or