Getting e as null

K

kap

Hi there, I have the following code

public void btnMoveUp_OnClick(DocActionEvent e)
{
thisXDocument.UI.Alert("Hello");
}

I am getting e as null.

I am using a repeated form, I have Move Up button on each form side menu,
when I click on Move Up, i want to find out the current node so that I can
move that content into the form above.

Please let me know where I am going wrong? Thanks in advance.
Kap
 
G

Greg Collins [InfoPath MVP]

e should not be null. Try deleting your event handler, and rebuilding it from the InfoPath Button Properties dialog box.
 

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