Hello,
I use WHDG, to display 1 child band.
On my web page the grid is ok.
But when I export it to excel (WebExcelexporter), all by child rows are duplicated.
version 10.3
Thx
Hello dufour01 ,
Thank you for posting in our forums.
Can you please share what build of v10.3 you are using?
I was not able to reproduce the issue with the online samples of v11.2
http://samples.infragistics.com/aspnet/Samples/WebHierarchicalDataGrid/Data/ExcelExport/Default.aspx?cn=excel-exporter&sid=fc0d912a-3031-4146-b53c-2d5d9fde9a58
Would you be able to provide an isolated sample reproducing the issue (or at least the markup and code behind of the page)?
Hope hearing from you
No problem with the sample for me
I just upgraded to lattest version with latest patch. Same problem.
I attached an test.
display of webpage is good, but export duplicate child bands.
Totest : 2 tables to create :
TableA and TableB with Fields A1, A2 and fields B1,B2
B1 is a foreign key to A1
Tried without my linq query, same problem.
WebHierarchicalDataSource1.DataViews.FindByID("TableA").DataSource = Data.Tables["TableA"]; WebHierarchicalDataSource1.DataViews.FindByID("TableB").DataSource = Data.Tables["TableB"];
Thank you for the sample code.
Using it I was able to reproduce the behavior. The issue happens because you are initializing the hierarchical data source too late in PageLoad event handler.
I recommend you using Init event handler of WebHierarchicalDataSource for the purpose.
I am attaching a sample code using NorthWind database which I have not included in order to reduce the size of the file.
Please let me know if you have further questions.