update field on page from control-addin

vsnasevsnase Posts: 23Member
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?




  • henrikmhenrikm Posts: 66Member, Microsoft Employee
    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.

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

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