Hi,
I am trying to manipulate some controls of a RotatorItem in the ItemDataBound event. However, the e.Item.DataItem seems to be of type XmlDataSourceNodeDescriptor, with which I can't do much since it's a sealed class. I can see all my data there while debugging, but cannot access them. Any idea how? Fo example, I have a simple xml file like this:
(Obviously) I want to get to the InnerText of ImageUrl but I cannot.
Any help is greatly appreciated!
viktor
I am trying to manipulate some controls of a RotatorItem in the ItemDataBound event. However, the e.Item.DataItem seems to be of type XmlDataSourceNodeDescriptor, with which I can't do much since it's a sealed class. I can see all my data there while debugging, but cannot access them. Any idea how? Fo example, I have a simple xml file like this:
<Images> <Image> <ImageUrl>PICT3345.jpg</ImageUrl> </Image> <Image> <ImageUrl>PICT4357.jpg</ImageUrl> </Image> <Image> <ImageUrl>PICT4479.jpg</ImageUrl> </Image> <Image> <ImageUrl>PICT5344.jpg</ImageUrl> </Image> <Image> <ImageUrl>PICT6294.jpg</ImageUrl> </Image> <Image> <ImageUrl>PICT6356.jpg</ImageUrl> </Image> <Image> <ImageUrl>PICT6898.jpg</ImageUrl> </Image> <Image> <ImageUrl>PICT7276.jpg</ImageUrl> </Image></Images>(Obviously) I want to get to the InnerText of ImageUrl but I cannot.
Any help is greatly appreciated!
viktor