Setting focus to a bound repeating table row

M

Matthew Ortiz

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
 
S

Steve van Dongen [MSFT]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top