G
G. Tarazi
Why cannot I use xsf:ruleSetAction inside xsf:button inside xsf:menuArea
InfoPath is getting slower when you have more event handler (managed code),
a bug that the "Creative" InfoPath development team knows about, the world
knows about, and they don't want to fix.
But anyway, to avoid the event handlers in the managed code, I decided to
use a rule connected to a button
This code will work just fine
<xsf:button caption="caption" name="name">
<xsf:ruleSetAction ruleSet="ruleSet_name"></xsf:ruleSetAction>
</xsf:button>
Until you have it in the xsf:menuArea, it simply won't accept it!
<xsf:menuArea name="msoEditMenu">
<xsf:button caption="caption" name="name">
<xsf:ruleSetAction ruleSet="ruleSet_name"></xsf:ruleSetAction>
</xsf:button>
</xsf:menuArea>
3 hour lost to find a workaround to the event handlers!
InfoPath is getting slower when you have more event handler (managed code),
a bug that the "Creative" InfoPath development team knows about, the world
knows about, and they don't want to fix.
But anyway, to avoid the event handlers in the managed code, I decided to
use a rule connected to a button
This code will work just fine
<xsf:button caption="caption" name="name">
<xsf:ruleSetAction ruleSet="ruleSet_name"></xsf:ruleSetAction>
</xsf:button>
Until you have it in the xsf:menuArea, it simply won't accept it!
<xsf:menuArea name="msoEditMenu">
<xsf:button caption="caption" name="name">
<xsf:ruleSetAction ruleSet="ruleSet_name"></xsf:ruleSetAction>
</xsf:button>
</xsf:menuArea>
3 hour lost to find a workaround to the event handlers!