BUG: XmlDataDocument Does Not Fire NodeChanged Events (326599)
The information in this article applies to:
- Microsoft .NET Framework Class Libraries 1.0
- Microsoft .NET Framework Class Libraries 1.1
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
This article was previously published under Q326599 SYMPTOMS If an XmlDataDocument object is bound to a DataSet object, and the DataSet data is changed, the XmlDataDocument does not fire NodeChanged events. CAUSE When the XmlDataDocument object is bound to a DataSet object, the XmlDataDocument does not contain nodes. Nodes are created when they are first
accessed. Because the XmlDataDocument does not yet contain nodes, changes to the DataSet do not trigger NodeChanged events. RESOLUTION To work around this problem, you must access each and every
node in the document tree. To do this, use the InnerText property of the XmlDataDocument object one time. When each node has been accessed (and,
therefore, created) all events fire. STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
REFERENCESFor additional information,
click the article number below to view the article in the Microsoft Knowledge
Base: 313649 INFO: Roadmap for XML Integration with ADO.NET
Modification Type: | Major | Last Reviewed: | 9/24/2003 |
---|
Keywords: | kbbug kbnofix KB326599 kbAudDeveloper |
---|
|