Hi,
I have the following XML:
This XML is loaded into a datasource using an XPath expression:
I now would like to use a radGrid to store all the info of the child-nodes of bar. In the example XML above, this would be the abc and def nodes, though the actual amount of them might differ. I'd like to have the individual child nodes of the bars displayed as columns.
So the desired outcome would be a grid displaying:
bar..........abc..........def
1............Guiness...1234
2............Heineken..4567
I tried directly binding to the XML, and played around with different XPAth statements trying to get things to work, but ended up with an error: Cannot find any bindable properties
Any ideas?
Thanks in advance!
Peter
I have the following XML:
<
foo
>
<
bar
>
<
abc
label
=
"bar: 1"
>
<![CDATA[Guiness]]>
</
abc
>
<
def
>1234</
def
>
</
bar
>
<
bar
>
<
abc
label
=
"bar: 2"
>
<![CDATA[Heineken]]>
</
bar
>
<
def
>4567</def
>
</
bar
>
...
</
foo
>
This XML is loaded into a datasource using an XPath expression:
myXML.XPath =
"/foo"
;
I now would like to use a radGrid to store all the info of the child-nodes of bar. In the example XML above, this would be the abc and def nodes, though the actual amount of them might differ. I'd like to have the individual child nodes of the bars displayed as columns.
So the desired outcome would be a grid displaying:
bar..........abc..........def
1............Guiness...1234
2............Heineken..4567
I tried directly binding to the XML, and played around with different XPAth statements trying to get things to work, but ended up with an error: Cannot find any bindable properties
Any ideas?
Thanks in advance!
Peter