Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, July 6, 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: v7.5 - Changing PickList List Length in Web Client?
Jim Mizia
Posts: 49
 
v7.5 - Changing PickList List Length in Web Client?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 May 09 2:11 PM
Can some tell me how to change the number of items that are displayed when popping up a picklist in the web client? I have a customer who uses multiple custom lists, with each list containing close to 100 items. The "4 item" default length causes a lot of scrolling when they pop up the list to make a selection.

Thanks for any help!

Jim M.
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: v7.5 - Changing PickList List Length in Web Client?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 May 09 7:29 AM
You could add some javascript to the page in a PreRender to set the "size" property of the dropdown part of the picklist control:

//document.all.ctl00_MainContent_MYFORMNAME_MYPICKLISTNAME_Items.size = 10;

You may be able to this server side looking at the controls collection within the picklist control, but I havent checked.

Thanks,
Nick
[Reply][Quote]
Nicolas Galler
Posts: 93
 
Re: v7.5 - Changing PickList List Length in Web Client?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 May 09 1:56 PM
I wanted to share a neat piece of code for this purpose:
$(document).ready(function() { $(".picklist select").attr("size", 8); });

This will change the size on all picklists of the page. It has to run on every postback though, so I added this on the OnFormBound event:
ScriptManager.RegisterClientScriptBlock(this, GetType(), "Resize_Picklists",
"$(document).ready(function() { $('.picklist select').attr('size', 8) })",
true);
[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): 7/6/2025 1:56:41 PM