G
Guest
Hello,
I have a repeater control bound to an XmlDataSource. Works great.
Now, I want to handle the ItemDataBound event--the e.Item.DataItem object in
particular. Its type is
System.Web.UI.WebControls.XmlDataSourceNodeDescriptor, which contains the
XmlNode needed to reference the data.
The problem is that _node is a private member of the
XmlDataSourceNodeDescriptor, and it is sealed, so I can't inherit it.
Doesn't it seem rather useless to embed all the data in the class, then hide
it from run-time view? It drives me crazy that I can view everything while
debugging by drilling down into the "non-public members", but you can't
programmatically access that.
Has anyone been able to use the XmlDataSourceNodeDescriptor object, or at
least reference XML nodes within the e.Item.DataItem object?
Thank you,
Eric
I have a repeater control bound to an XmlDataSource. Works great.
Now, I want to handle the ItemDataBound event--the e.Item.DataItem object in
particular. Its type is
System.Web.UI.WebControls.XmlDataSourceNodeDescriptor, which contains the
XmlNode needed to reference the data.
The problem is that _node is a private member of the
XmlDataSourceNodeDescriptor, and it is sealed, so I can't inherit it.
Doesn't it seem rather useless to embed all the data in the class, then hide
it from run-time view? It drives me crazy that I can view everything while
debugging by drilling down into the "non-public members", but you can't
programmatically access that.
Has anyone been able to use the XmlDataSourceNodeDescriptor object, or at
least reference XML nodes within the e.Item.DataItem object?
Thank you,
Eric