axapta - What is the right way to access buttons in list page form? -
in ax 2012 in form template "list page" cannot access clicked method on button. not allowed overwrite method `clicked
you can change behavior setting button property "displaytarget" value "client". can change code of clicked
method. not feel right.
is there way how access clicked method better way? example using *formname*listpageinteraction
linked in form properties?
p.s.: know can make menu item (action) -> , call class. when not want open new form in new window (by using menu item [display]), want change on current form feels worse overwriting clicked method.
setting displaytarget property value "client" hide button if used enterprise portal. if not plan use list page in ep go ahead.
otherwise have put code in target form init
or class main
method.
Comments
Post a Comment