Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 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: About TabControl
goodyganga
Posts: 12
 
About TabControl Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jun 08 2:29 AM
I want to know whether the following code is correct or not, Here i tried to hide one tab when the type in account changes,
My code is
Sage.Platform.WebPortal.Workspaces.TabWorkspace objtab=new Sage.Platform.WebPortal.Workspaces.TabWorkspace();
if(entity.Type=="Vendor")
{
objtab.Hide("AccountOpportunities");
}
else
{
objtab.Show("AccountOpportunities");
}

i am getting error while i use it,Please give me a solution 4 this....
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: About TabControl Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jun 08 2:44 AM
As far as I know, you cant show or hide tabs after the page load event, so this kind of thing is not possible on the change of a picklist.
[Reply][Quote]
goodyganga
Posts: 12
 
Re: About TabControl Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jun 08 4:16 AM
Thanks nick...
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: About TabControl Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jun 08 4:50 AM
One (horrible) solution is to refresh the page after changing the picklst, then running your code.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: About TabControl Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jun 08 5:18 PM
Quote:
Originally posted by Nick Hollis

One (horrible) solution is to refresh the page after changing the picklst, then running your code.


Another problem is that you'd have to make sure to save the entity before the redirect or you'd loose the field change. Easy enough to do, but still ugly (although the only solution I know of to do this now)
[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/23/2025 10:45:53 AM