positioning in repeating table

R

Ralf Erdmann

Hello,

my scenario is a repeating table with 3 columns. In the first is a command
button the others are text1 and text2.

My goal is when I press the command button I want to open an executable
Program and write the result back into the corresponding text cells text1
and text2.
The problem here is to write in the correct cell. I can´t find any index to
write in the corresponding line. The result is always diplayed in the first
line.

Ralf Erdmann
 
F

Franck Dauché

Hi Ralf,

If you are using selectSingleNode with the full XPath for the nodes
associated with textbox1 and textbox2, you will always target the first
instance of your repeating section. If you want to point to the right
instance of your repeating section (nth pair when clicking on button #n), you
need to look into using something such as:
e.Source.selectSingleNode("my:field1"); instead.

Is that what you are after?

Regards,

Franck Dauché
 
R

Ralf Erdmann

Hello Frank,

omg it is so easy sometimes. Thx alot for your help :)
And no, I wont show you the tons of c# code to position on the right cell.

regards

Ralf Erdmann
 

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