ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2015-08-05 07:07:08

Max
Member
Registered: 2015-08-05
Posts: 3

Problem using in WPF

I try to use ReoGrid spreadsheet version 0.8.9.2 in WPF. I installed it using NuGet package within Visual Studio 2012.
and then add spreadsheet control to XAML by instruction as link below.

http://reogrid.net/v0-8-7/wpf-support/

After compile I got this error:
The specified value cannot be assigned to the collection. The following type was expected: "UIElement".

Please advise, how can I solve this problem.

Offline

#2 2015-08-05 07:34:48

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Problem using in WPF

Sorry that you couldn't install WPF edition using NuGet, it contains only a Windows Forms edition.

Please download the package from http://reogrid.net/download.

And use the DLL 'unvell.ReoGrid.dll' from ReoGrid-0.8.9.2-Beta-WPFRelease folder.

We are now planned to make a WPF edition NuGet package in future.

Last edited by Jingwood (2015-08-05 08:10:06)

Offline

#3 2015-08-05 08:51:53

Max
Member
Registered: 2015-08-05
Posts: 3

Re: Problem using in WPF

Thank you for your prompt reply.
It work fine now.

Anyway, may I know why VS2012 always detect the error in XAML as below.

Error    1    The name "ReoGridControl" does not exist in the namespace "clr-namespace:unvell.ReoGrid;assembly=unvell.ReoGrid".

Can I avoid this error message?

Offline

#4 2015-08-05 13:03:32

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Problem using in WPF

I guess that you have added the unvell.ReoGrid.DLL into reference list of your project but please confirm that again.

Sometimes Visual Studio cannot refresh reference list instantly, please try close Visual Studio and open again, or try to create a new project.

If problems still there, please provide more details such as how the project created, how the ReoGrid reference added, and what is your OS version and .NET version.

Offline

#5 2015-08-06 01:00:47

Max
Member
Registered: 2015-08-05
Posts: 3

Re: Problem using in WPF

May be some thing wrong with my VS2012.
Never mind just the project can run is OK.

Yes, I have added the unvell.ReoGrid.DLL into reference list of my project.

Offline

Board footer

Powered by FluxBB