Performance in assigning Value to IXMLDOMNODE

A

Awwabk

Hi,
I have designed some solutions using Infopath with C#.And integrated
them with Sharepoint, K2.NET etc. I am facing some problems in this present
solution which are a little strange. I have a static string variable with a
value assigned to it which is initialised in the OnLoad Event using some web
services. On click of a button I want this value to get assigned to a textbox
on InfoPath. So I have a IXMLDomNode defined pointing to the textbox Xpath.
and then I assign values from the variable to the IXmlDomNode variables text
property.
For e.g. IXMLDomNode nodeLoc; I point to the right control.
string strLoc ="XYZ";

Now
nodeLoc.text = strLoc; This statement takes 1 min 18 secs in my solution.
Can somebody help me on that and the next similar assign statement for
another text box is almost instant.
Please help me resolve this as it is causing an unacceptable performance
issue.

Thanks in Advance.
 
Top