Hi,
I'm currently displaying some xml data (using xmldatasource bound to a DataList). I want to replace this DataList with the Grid - and
display it in the same way (see the example below)
The DataList has a HeaderTemplate (circled in purple in the example), an ItemTemplate (circled in blue) and an AlternatingItemTemplate (green).
I created one grid version using MasterTableView, DetailTables, two GridTableViews and assoicated Columns sections and was able to display data as per the grid version example below. The upper-level team attributes data is shown in MasterTableView and the RaceClasses and TeamMember information is shown at the same level in the two detail GridTableViews.
Moving back to the DataList example, I have circled in red and marked M1, D1 and D2 where the corresponding data would/should show up if I can make this work using the Grid as desired.
I tried using the ItemTemplate in the MasterTableView but was not able to gain access to any of the data provided by the XmlDataSource.
Click here for DataList example
Click here for the grid version
Click Here to See XML Data
I'm appreciative of your time, analysis and any thoughts you might have on the question:
Thanks,
David
![]()