You are not logged in.
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.
Hi, I'm trying to add reogrid to a tabitem content but it does not show any workbooks or worksheet. Im also try to add on grid and dockpanel but it returns an incompatibility error. Can somebody explain or help me on this problem? Does version 9.2 works on WPF VB?
Offline
Hi, Is there any detailed message for the error? or some pictures will be helpful. What is your Visual Studio and .NET version?
Offline
Hi,
First I tried this one. I have a TAB Control in a WPF Form and trying to add the reogrid in one of the tab contents. The programs works fine and it doesnt show any error but it also does not show any workbook or worksheet
Private GRID As unvell.ReoGrid.ReoGridControl
*****************************************************
FILE_VIEWER.Items.Clear()
With FILE_VIEWER
TAB = New TabItem
With TAB
.Header = "FILE 1"
.Name = "File1"
End With
.Items.Add(TAB)
GRID = New unvell.ReoGrid.ReoGridControl
GRID.Dock = Forms.DockStyle.Fill
Using s As New System.IO.FileStream(PathToExcelFile.xlsx, FileMode.Open, FileAccess.Read, FileShare.Read)
GRID.Load(s, unvell.ReoGrid.IO.FileFormat.Excel2007)
End Using
GRID.Visible = True
GRID.Show()
CType(.Items(.Items.Count - 1), TabItem).Content = GRID
End With
I am also trying to add the reogrid to dockpanel, and the error is "Value of type 'unvell.ReoGrid.ReoGridControl' cannot be converted to 'System.Windows.UIElement'."
GRID = New unvell.ReoGrid.ReoGridControl
GRID.Dock = Forms.DockStyle.Fill
Using s As New System.IO.FileStream(PathToExcelFile.xlsx, FileMode.Open, FileAccess.Read, FileShare.Read)
GRID.Load(s, unvell.ReoGrid.IO.FileFormat.Excel2007)
End Using
GRID.Visible = True
GRID.Show()
testdock.Children.Add(GRID)
Please help, thank you
Offline
Are you sure you using a DLL that is existing in the WPFRelease folder? It seems like a WinForm version. Can you open the project of WPF demo source, build and see the result?
Offline
I dont know sir, but i think you are right. I just installed the reogrid using Nuget Package Manager and i dont if its for WPF or Not.
Offline
Hi Sir,
Now it works fine. I uninstalled the the reogrid dll from nuget package manager and used the dll from WPF Demo Source
Thank you very much...
Last edited by dhongki (2015-12-01 07:31:05)
Offline