mibuso.com

Microsoft Business Solutions online community
It is currently Thu Dec 25, 2014 9:41 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: update field on page from control-addin
PostPosted: Tue Jun 12, 2012 7:28 am 
Offline

Joined: Wed Dec 10, 2008 9:15 am
Posts: 17
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


Top
 Profile E-mail  
 
 Post subject: Re: update field on page from control-addin
PostPosted: Mon Jun 25, 2012 9:01 am 
Offline
Microsoft employee

Joined: Thu Oct 29, 2009 12:46 am
Posts: 66
Location: MDCC, Vedbæk
Country: Denmark (dk)
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


Top
 Profile E-mail WWW  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: