I need to bind this document to the RadGridView and have a child data template for each row where the parametercollection node exists.
The following code (where strXml variable is the xml as string above) doesn't support viewing the parameters inside of parametercollection element.
We have an ID with telerik support. My company purchased both WPF and ASP.NET AJAX controls. If someone can provide an email address I will send the ID directly to them so I can get a higher priority support.
Dan
<!-- edited with XML Spy v3.5 NT (http://www.xmlspy.com) -->
<
MethodInformation
>
<
tenantid
>0</
tenantid
>
<
namespaceName
>BusinessServer.BusinessPolicies.ServiceContractsComponent</
namespaceName
>
<
className
>ServiceContractsBusPolicyMgr</
className
>
<
methodName
>ExtractVouchersAndPostToInvoice</
methodName
>
<
runAsynchronously
>Y</
runAsynchronously
>
<
autoRestart
/>
<
parameters
>
<
parameter
>
<
name
>contractsequencein</
name
>
<
value
/>
</
parameter
>
<
parameter
>
<
name
>subsequencein</
name
>
<
value
/>
</
parameter
>
<
parameter
>
<
name
>billingdatein</
name
>
<
value
/>
</
parameter
>
<
parameter
>
<
name
>requestclosedatein</
name
>
<
value
/>
</
parameter
>
<
parameter
>
<
name
>additionalparametersin</
name
>
<
parametercollection
>
<
parameter
>
<
name
>tablename</
name
>
<
value
/>
<
name
>columnname</
name
>
<
value
>posting_group</
value
>
<
name
>columnvalue</
name
>
<
value
>KL</
value
>
</
parameter
>
</
parametercollection
>
</
parameter
>
<
parameter
>
<
name
>theplaceidtobillin</
name
>
<
value
/>
</
parameter
>
<
parameter
>
<
name
>theinvoiceconsolidationruleidin</
name
>
<
value
/>
</
parameter
>
</
parameters
>
</
MethodInformation
>
The following code (where strXml variable is the xml as string above) doesn't support viewing the parameters inside of parametercollection element.
XmlDataProvider xProviderResource =
new
XmlDataProvider();
XmlDocument xParameterDoc =
new
XmlDocument();
xParameterDoc.LoadXml(strXml);
xProviderResource.IsAsynchronous =
false
;
xProviderResource.Document = xParameterDoc;
xProviderResource.XPath =
"MethodInformation/parameters/parameter"
;
IEnumerable<XmlNode> iXnodeEnum = xProviderResource.Data
as
IEnumerable<XmlNode>;
ObservableCollection<XmlNode> obsElementCollection =
new
ObservableCollection<XmlNode>(iXnodeEnum);
radGridView2.ItemsSource = obsElementCollection;
We have an ID with telerik support. My company purchased both WPF and ASP.NET AJAX controls. If someone can provide an email address I will send the ID directly to them so I can get a higher priority support.
Dan