views:

24

answers:

0

In 2007 I used Custom Action with ControlClass to inject custom code to a form. It was very convenient to target custom functionality with way (e.g. enable it for a custom content type).

In general I need to implement an import button on an issue form that will generate KB article and redirect to the created wiki page.

Since for the ribbon button command actions can be only a URL or JS. My idea is to inject a custom control that registers a handler for the postback event generated by js code in the command action.

May be there is a better solution for my task. I would appreciate any suggestions. Thanks.