Hello,
How can I load the data asynchronously using an XMLDataProvider. Following is the code I tried. I have set IsAsynchronous to true. But financialInfoProvider.Data is returning Nothing in the below code snippet.
Thanks and Regards,
Norbert John
How can I load the data asynchronously using an XMLDataProvider. Following is the code I tried. I have set IsAsynchronous to true. But financialInfoProvider.Data is returning Nothing in the below code snippet.
Dim
financialInfoProvider
As
New
XmlDataProvider()
Dim
finacialInfoXMLPath
As
String
=
String
.Empty
finacialInfoXMLPath = BuildFinancialInfoXML()
financialInfoProvider.IsAsynchronous =
True
financialInfoProvider.Source =
New
Uri(finacialInfoXMLPath, UriKind.RelativeOrAbsolute)
financialInfoProvider.XPath =
"/RemainingFinancialInfo/Property"
m_GridDataSource =
New
ObservableCollection(Of XmlNode)(
DirectCast
(financialInfoProvider.Data, IEnumerable(Of XmlNode)))
Thanks and Regards,
Norbert John