Set focus on a textfield on a repeating table
Hello Friends,
I have a huge problem with Infopath SDK. Infopaths create in formcode.cs an OnAfterChange event for adding a new row on a repeating table. I want now to set the focus to a specified textfield in this row. With the following source code it doesn't works:
IXMLDOMNode xnFocus = e.Site.selectSingleNode("@ITEM_NUMBER");
thisXDocument.View.SelectText(xnFocus,Missing.Valu e);
Has anybody a suggestions for anotherway or there the failure is situated?
Thx a lot.
|