Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Saturday, August 16, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
8/16/2025 7:27:19 PM
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 Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: How to toggle a control's enabled property on a detail screen....
Byrnes
Posts: 43
How to toggle a control's enabled property on a detail screen....
Posted: 11 Dec 08 3:24 PM
I have a button on the ContractDetail.aspx screen. When pressed I have some values updated and saved - works like a champ. The button is then disabled so it can't be clicked again. However, when I browse to the next record, if those values aren't in the database I want to reenable the button.
How do I do this?
I tried a C# snippet on the form's onload but that only fires once. I then set the repaint event to true as well but that didn't change anything.
I added the contractID field to a textbox and tried the onchange of that - also didn't work.
What else can I try?
[
Reply
][
Quote
]
Byrnes
Posts: 43
Re: How to toggle a control's enabled property on a detail screen....
Posted: 12 Dec 08 4:15 PM
Resolved!
(I had no clue this was even an option until I spoke directly with Mike at PSG - thanks!)
I removed my OnLoad C# code altogether - I also remove the ContractID and onchange code that I was trying (and failing) with.
My solution is this: I bound the 'Enabled' property of the button to this evaluative statement:
(PROCESSSTATE < 1) OR (PROCESSSTATE > 2)
(PROCESSSTATE is a property on the Contract entity, of course)
and it works perfectly!
[
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
|
page cache (param): 8/16/2025 7:53:02 PM