D
DJ Baro
Hi there,
I've added an event to a button of my created toolbar, as below
[InfoPathEventHandler(MatchPath="btnCancel",EventType=InfoPathEventType.OnClick)]
public void btnCancel_Click(DocActionEvent e)
{
e.ReturnStatus = false;
}
I got error at this point saying that "Object reference not set"
NOTE: This event is fired when I click on the button of that toolbar.
The problem is that "e" object is not instantiated or set.
Any suggestions???
Thanks
I've added an event to a button of my created toolbar, as below
[InfoPathEventHandler(MatchPath="btnCancel",EventType=InfoPathEventType.OnClick)]
public void btnCancel_Click(DocActionEvent e)
{
e.ReturnStatus = false;
}
I got error at this point saying that "Object reference not set"
NOTE: This event is fired when I click on the button of that toolbar.
The problem is that "e" object is not instantiated or set.
Any suggestions???
Thanks