Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Sunday, February 23, 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)
2/23/2025 10:57:58 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!
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: Not Maintaining State
goodyganga
Posts: 12
Not Maintaining State
Posted: 11 Jun 08 6:29 AM
Whenever i write the C# snippet code for any picklist actions,the code works but the picklistvalue not maintaining.
Its postback after that it is coming to the initial position....
Give me a solution 4 tat////
[
Reply
][
Quote
]
Venkatesh
Posts: 72
Re: Not Maintaining State
Posted: 11 Jun 08 6:42 AM
Goody,
Finally you have to write this line of code for refreshing the text in the control
Sage.Platform.WebPortal.Services.IPanelRefreshService refresher = PageWorkItem.Services.Get();
if (refresher != null) {
refresher.RefreshAll();
}
else {
Response.Redirect(Request.Url.ToString());
}
I hope this helps.....
Cheers
Venkatesh
[
Reply
][
Quote
]
goodyganga
Posts: 12
Re: Not Maintaining State
Posted: 11 Jun 08 6:50 AM
But whether i hav to write tis in picklist_changeaction or in C# snippet code
Thank u .....
venky
[
Reply
][
Quote
]
Venkatesh
Posts: 72
Re: Not Maintaining State
Posted: 11 Jun 08 7:00 AM
Goody,
You have to write this code in C# Snippet.
[
Reply
][
Quote
]
Nick Hollis
Posts: 549
Re: Not Maintaining State
Posted: 11 Jun 08 9:13 AM
Quote:
Originally posted by goodyganga
Whenever i write the C# snippet code for any picklist actions,the code works but the picklistvalue not maintaining.
Its postback after that it is coming to the initial position....
Give me a solution 4 tat////
I dont think refreshing the page will help. Clicking the save button will mimic this anyway. In the C# Snippet are you updating the entity property or the picklist value itself? Always update the entity property. Call an entity.save() if you need this saved so the user doesnt have to physically click the save icon. Is the picklist bound correctly?
[
Reply
][
Quote
]
goodyganga
Posts: 12
Re: Not Maintaining State
Posted: 11 Jun 08 9:24 AM
ya...picklist bounded well.when i change the value in picklist its postbacking and the value does not remain ,it comes to the initial value ,for tat if refreshing will not work wise means,wat to do for maintaining the value of picklist
[
Reply
][
Quote
]
Nick Hollis
Posts: 549
Re: Not Maintaining State
Posted: 11 Jun 08 9:46 AM
There must be a business rule or something resetting the value, thats the only thing I can think of. Try debugging the website and stepping through the code - maybe on onchange event is being fired for the property....
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: Not Maintaining State
Posted: 11 Jun 08 12:53 PM
Is this code in a LoadAction or where? If it is in a LoadAction, have you set the OnRepaint Event to True?
[
Reply
][
Quote
]
goodyganga
Posts: 12
Re: Not Maintaining State
Posted: 12 Jun 08 1:34 AM
Not in Load Action but in the C# snippet code of picklist action events...
[
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): 2/23/2025 11:19:33 AM