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: Confused with text box update
Andrew Grandin
Posts: 272
 
Confused with text box updateYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Apr 10 4:42 AM
Hi All, im editing a smart part in Visual Studio. It has multiple controls but im focused on a date/time picker and a text box for now. I have a funciton called StatusChange that looks to see if a value is in the date/time picker and if it is it changes the text in the text box.

If i call this function on form load it sees the date/time picker has something in it and updates the text box accordingly but i want this to occur when the user actually opens the calender and selects a date.

So I tried calling my StatusChange function on the OnDateTimeValueChanged event of the date/time picker. The function gets called (i put a msgbox to check) but doesnt change the text value in the text box!

Both the date/time picker and the text box are linked to database fields. Why wont the text box update when i call the function on the picker event rather than form load?

Thanks All.
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: Conf...used with text box updateYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 May 10 4:57 AM
Hi,

Bit late...

If the function is getting called and you are setting the textbox value with a code snippet onchange of the Datepicker, the only thing I can think this could be is maybe the binding is overwriting the value of the textbox? Try setting the entity property that the textbox is bound to with the value you want the textbox to display. You should always do it this way anyway...

Thanks,
NIck
[Reply][Quote]
Andrew Grandin
Posts: 272
 
Re: Conf...used with text box updateYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 May 10 5:12 AM
Thanks for your reply Nick, ill give this a try as sson as i get back to this dev. while youre online and i have your attention hopefully you can look at my most recent post (how to execute a stored procedure)
[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 10:09:56 AM