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 / August 2004

Tip: Looking for answers? Try searching our database.

Setting focus to a bound repeating table row

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matthew Ortiz - 20 Aug 2004 05:33 GMT
Is there a way to set focus to a bound repeating table row using JScript?  
I'm familiar with using the 'XDocument.View.SelectNodes' method but I don't
see how to use this method as the bound table doesn't have an ID (xmltoedit
name).

Perhaps I'm missing something that the group could help me with.

Thanks,

Matthew Ortiz
Steve van Dongen [MSFT] - 22 Aug 2004 10:44 GMT
>Is there a way to set focus to a bound repeating table row using JScript?  
>I'm familiar with using the 'XDocument.View.SelectNodes' method but I don't
>see how to use this method as the bound table doesn't have an ID (xmltoedit
>name).
>
>Perhaps I'm missing something that the group could help me with.

The bound table would have an xmlToEdit name an individual row
wouldn't.

The way I read the spec is that the SelectNodes method takes 3
parameters -- a starting XML node, an ending XML node (optional), and
an optional xmlToEdit name.  The xmlToEdit name only needs to be
specified if the XML node you are trying to select is bound to
multiple controls in the view.  Call SelectNodes and pass only a
reference to the XML node corresponding to the row and it should work,
I think.

Regards,
Steve
--
Please post questions to the newsgroup; everyone benefits.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sample code subject to http://www.microsoft.com/info/cpyright.htm
 
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.