Hi,
I am using browser based InfoPath 2010 form.
I am trying to set the focus programmatically is VSTS.
I tried the below code:
[CODE]
XPathNavigator id = MainDataSource.CreateNavigator();
XPathNavigator nodeSelText =
id.SelectSingleNode("/my:1aVerified/my:WC/my:WCOther/my:WCOther2/my:WCOtherInGrp/my:field1",NamespaceManager);
XDocument.View.SelectNodes(nodeSelText);
[/CODE]
I am getting error as "'System.Xml.Linq.XDocument' does not contain a definition for 'View' ".
How to fix this?
Thank you