6/30/2025 4:28:33 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Updating value in text box with calculation not displaying - IGNORE!
Posted: 17 May 10 4:22 AM
|
Hi All,
I have 3 text boxes, 2 enabled and 1 disabled. The disabled box needs to be filled with the calculation of the values in the other 2 text boxes. So i call some javascript on blur of the 2 textboxes to invoke a button click that does the calculation. The first code i tried on invoking the button click was:
ZBidContrTotValue.Text = (((Int32.Parse(ZCTRTerm.Text)) * (Int32.Parse(ZBidContractValue.Text))).ToString());
But the value in the text box did not change. I thought this may be down to the fact that it is bound to the database and this was overwriting my calculated value so i tried:
Sage.Entity.Interfaces.IOpportunity opportunity = this.BindingSource.Current as Sage.Entity.Interfaces.IOpportunity; opportunity.ZOpportunityExts.ZCTRTerm = (((Int32.Parse(ZCTRTerm.Text)) * (Int32.Parse(ZBidContractValue.Text))));
|
|
|
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|