Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 28, 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: SalesLogix Web 7.5.3 Pick List Height
Josh
Posts: 3
 
SalesLogix Web 7.5.3 Pick List Height Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Jul 11 12:08 PM
fiogf49gjkf0d

Is it possible to increase the pick list height to display more than 4 items when the user clicks on the ellipses button?

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: SalesLogix Web 7.5.3 Pick List Height Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jul 11 7:49 AM
fiogf49gjkf0d

The drop down on the Picklist (unless it is a multiselect) is a <select> element. The default for it is to have a Size of 4.


You could increase that size programatically, probably not on the click of the ellipsis, but on the load of the page.


 


 

[Reply][Quote]
Gary Jeffery
Posts: 9
 
Re: SalesLogix Web 7.5.3 Pick List Height Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Jul 11 5:00 AM
fiogf49gjkf0d

Hi Josh


THis can be achieved with javascript.


you can add a line to your page code to resize all picklists:


ScriptManager.RegisterClientScriptBlock(this, GetType(), "Resize_Picklists1", "$(document).ready(function() { $('.picklist select').attr('size', 8) });",true);


You could add that line to base.master to affect all lists on all forms, or you can add it to the load events of each form individually to only affect those forms you choose.


Alternatively, view the html source of the page and find the client side name of the items element for your picklist, and then in the load event of your form, you can set a size specifically for that list with this line:


ScriptManager.RegisterClientScriptBlock(this, GetType(), "Resize_Picklists2", "$(document).ready(function() { $('#ctl00_MainContent_OpportunityDetails_Country_Items').attr('size', 20)});", true);


so it is possible to have a different size for each list on any given page/form if you wish. You can see I have named my functions here Resize_Picklists1 and Resize_Picklists2, if you have multiple lists you are controlling on the same form, you need to give each script block a unique name.


Hope thats useful for you


Regards


Gary Jeffery

[Reply][Quote]
Josh
Posts: 3
 
Re: SalesLogix Web 7.5.3 Pick List Height Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Jul 11 1:58 PM
fiogf49gjkf0d

This master file code works when the page first loads but does not work if there is a postback or the screen is saved. 

[Reply][Quote]
Gary Jeffery
Posts: 9
 
Re: SalesLogix Web 7.5.3 Pick List Height Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Aug 11 10:53 AM
fiogf49gjkf0d

Ah yes, that's true. Guess you will need to place the code in the onLoad event of each form and in load actions dialog, set the "On Repaint Event" to "True" to be certain it runs every time.


 


Regards


 


Gary

[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/28/2025 5:46:05 PM