Binding nested objects to Aspose webgrid datafield

Hi,
I am trying to bind nested object value to Aspose grid’s DataField , but it is not working.
Pleae help me.

Hi,


Could you create a sample project, zip it and attach it here with latest version v2.7.3.xxxx (you may download Aspose.Cells for .NET v7.1.1 and install it to get the latest version of GridWeb) to show the issue, we will check it soon.

Also, please check some demos (in the section) and articles on data binding:

http://docs.aspose.com/display/cellsnet/Binding+Worksheet+to+a+DataSet+using+GridWebs+Worksheets+Designer

Hi Amjad,

I have created the test project and attached the same , Please help me to bind the Aspose webgrid in that sample project.

As you can see in the example, when I tried to bind the nested list object to the grid below error is thrown.

Error: “*****” does not contain a property with the name ‘AddressId’.

Hi,

Please download the latest version:
Aspose.Cells
for GridWeb v2.7.3.2000


Please update the dll and acw_client directory.

Then add the following settings in your web.config.

Please also see these articles for your further help

  1. Working With VS.NET 2005 VWD 2005
  2. Upgrade from Aspose.Grid.Web to Aspose.Cells.GridWeb Control

It should work fine.




<add key=“aspose.cells.gridweb.acw_client_path” value=“/acw_client/”/>

<add key=“aspose.cells.gridweb.force_script_path” value=“true”/>

<add key=“aspose.cells.gridweb.forcepath” value=“true”/>





Hi faiz,

The above solution is not working , I have latest version Aspose webgrid.

Hi,

I have created a sample template project with a single page using GridWeb. It will illustrate how to setup GridWeb and use in your application.

Please download it and run it. Once you successfully run it, import your own existing pages or create new one inside it.

You can find samples in GridWeb documentation and GridWeb offline demos.

  1. Documentation - Aspose.Cells.GridWeb
  2. Offline C# Demos - Aspose.Cells.GridWeb

Please also see the screenshot that defines how to configure your web.config file.

Screenshot:

Hi,



I am getting ‘acwmain’ undefined error, Please help me.

I have followed the above procedure but still getting the error.

Please check the attached snapshot and let me know whether I have made the right entries in the for the right page.
















Hi,



I am getting ‘acwmain’ undefined error, Please help me.

I have followed the above procedure but still getting the error.

Please check the attached snapshot and let me know whether I have made
the right entries in the for the right page.













Hi,

Your settings seems to be correct. Please attach your project.

FYI: You can also set this thread as a Private thread. If you mark your thread as Private, then only Aspose Staff members and you will be able to access it.