Hi,
I downloaded NetAdvantage for ASP.NET and we are evaluting grid. We already have business objects ready to bind to the grid. But for some reason i unable to plug those in WebHierarchicalDataGrid. I checked most of the sample which is using WebHierarchicalDataSource.
Is it possible to bind WebHierarchicalDataGrid without using WebHierarchicalDataSource?
If yes, please provide the link or sample where it show the basics of it.
I would really appreciate quick response as we are in evaluation phase.
Thanks,
Hi nbhatt,
The WebHierarchicalDataGrid can bind to any hierarchical data source. This includes xml, site map, DataSet, and any IEnumerable.
http://samples.infragistics.com/aspnet/Samples/WebHierarchicalDataGrid/Data/DataBinding/Default.aspx?cn=hierarchical-data-grid&sid=bf08eead-d9f1-4a25-a7a5-3432b86a8562
If your business objects already form a hierarchy with lists of objects that have lists as properties, you can give the top list to the grid and it will bind. If they're all flat, you'll need to use the WHDS to create the hierarchy.
regards,
David Young
In attached sample i see below line
NWindClient.GetSuppliersAndProductsDataSet()
Is there anyway i can have access to the code for GetSuppliersAndProductsDataSet() Method. I want implement the same which is shown in this sample.
Please provide the source for below
<%@ Register Src="~/samplescommon/aspnet/UserControls/DataSourceControl/DataSourceControl.ascx" TagName="DataSourceControl" TagPrefix="uc1" %>Thanks