Setting Focus on Controls - InfoPath 2003

Setting Focus on Controls in your infopath forms.

// Code For Setfocus
IXMLDOMNode nodeSelText = thisXDocument.DOM.selectSingleNode("/my:myFields/my:field1");
thisXDocument.View.SelectText(nodeSelText,Type.Missing);

Comments

Popular posts from this blog

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008

Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

None of the selected features can be installed or upgraded. Setup cannot proceed since no