Hi,
I have been going through instances to populate the Grid from xml. But, my issue is I want to use the DOM model to populate the grid dynamically from Server side.
If I have a xml that looks something like this:
I create an instance of xmldocument and try to load this xml into it but it says: data at root level is invalid.
Would be great if provided with sample code to use xpath + xmldom to populate the columns Name, CustNumber and Address dynamically from server side. Also, Please suggest, how to get paging controlled.
I have been going through instances to populate the Grid from xml. But, my issue is I want to use the DOM model to populate the grid dynamically from Server side.
If I have a xml that looks something like this:
<Listing> |
<Customer Name="Browning Bob" CustNumber="345" CustomerID="1" Address="123 Street1, 1 Coast, UK 89869" /> |
<Customer Name="Williams" CustNumber="235" CustomerID="2" Address="123 Street2, Coast2, UK 89863" /> |
</Listing> |
Would be great if provided with sample code to use xpath + xmldom to populate the columns Name, CustNumber and Address dynamically from server side. Also, Please suggest, how to get paging controlled.