Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, February 22, 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: smart part onload event
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
smart part onload eventYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Mar 08 7:54 AM
I would like to set the state of some asp.net controls I have on a form when it is loaded into the browser. I have an .ascx file I am editing in VS. Is any event like this available in the smart part, similar to the onload event of an .aspx page? Thanks
[Reply][Quote]
Nicolas Galler
Posts: 93
 
Re: smart part onload eventYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Mar 08 12:02 PM
Hate to be doing a shameless self-promotion but check out http://blog.chivinou.net/2007/12/06/slx-entityboundsmartpart-lifecycle/
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: smart part onload eventYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Mar 08 1:12 PM
Promote away. The funny thing is that I have this post from your blog in my IE favorites from when I was trying to track down the issue that requires modifying/replacing the systeminfo blob. The other funny thing is that I can't seem to access the page right now, but I will try again later. As I recall it is an impressive break down. Keep up the good work!
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: smart part onload eventYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 08 7:27 AM
Edited: Got it, just add the onload event to the smart part. Pretty slick. having another issue - I have a radio group with two items - Yes and No - that won't set to a default value. I was hoping to set it in the onload event. Doesn't seem to be working.. I can set the value of a textbox so I know the event is firing. I have three other radio groups that select 'Yes' from setting the property Select='True' but have two others that refuse to take a default value






I am now trying to set in code, but may have the syntax wrong.. I have tried ODMOEM.SelectedIndex=0;, ODMOEM.SelectItem=0; and host of others.. Does anyone know the correct syntax to set the value of a radio group in code? Thanks
[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): 2/22/2025 3:01:28 PM