Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, June 30, 2025 
 
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!
 Web Forums - SalesLogix Web Platform & Application Architect
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Updating value in text box with calculation not displaying - IGNORE!
Andrew Grandin
Posts: 272
 
Updating value in text box with calculation not displaying - IGNORE!Your last visit to this thread was on 1/1/1970 12:00:00 AM
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))));
[Reply][Quote]
Andrew Grandin
Posts: 272
 
Re: Updating value in text box with calculation not displaying - IGNORE!Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 May 10 4:31 AM
I was linking it to the wrong text box so of course i wasnt seeing it update!!!!!!! So very very tired,lol. Sorry all.
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/30/2025 5:06:13 AM