Why cannot I use xsf:ruleSetAction inside xsf:button inside xsf:menuArea ?

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!
 

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