Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2005

Tip: Looking for answers? Try searching our database.

setting focus to a control in Infopath

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Reetu Agarwal - 23 Mar 2005 19:35 GMT
Hi All,

I am reposting this query.

Can you please let me know how to programatically set focus to a Control
(textbox/dropdownlistbox) on InfoPath form using script.

Thanks,
-Reetu
Reetu Agarwal - 23 Mar 2005 21:56 GMT
Hi All,

I finally found the answer on how to set the focus to a textbox in infopath.

var nodeSelText = XDocument.DOM.selectSingleNode("//my:FirstName");
        XDocument.View.SelectText(nodeSelText);

Please visit the following URL which explains setting focus in Infopath
http://blogs.msdn.com/infopath/archive/2004/04/07/109189.aspx

Thanks & Regards,
-Reetu
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.