update field on page from control-addin

vsnasevsnase Member Posts: 23
edited 2012-06-25 in NAV Three Tier
Hi there,

I am trying to update the value of a field on a page from a control addin. the field is updated only when leaving the field. But I do not want to leave the field only to get it updated.

Any hints how this could work?

Thanks

Volker

Comments

  • henrikmhenrikm Member, Microsoft Employee Posts: 66
    So you want to update another field on the page based on something you do in the Control Add-in?

    Is the logic which updates the other field on the Validate trigger? If so you can from the control add-in force a "Save" of your current value (default is that the value is saved when you leave the field).
    You have to implement IValueControlAddInDefinition (Value and HasValueChanged properties).

    Alternatively you can use the OnControlAddIn trigger to update the other field.

    /henrik
    “This posting is provided "AS IS" with no warranties, and confers no rights.”

    Henrik Metzger, Software Development Engineer, Dynamics NAV
    MSFT
Sign In or Register to comment.