Login / Register  search  syndication  about

          Jason Buss' Blog

Jason Buss on SalesLogix development & customization, SQL, and more.

(not quite as) Easily Increasing the Height of the Picklist Dropdown in SalesLogix Web

My colleague Ryan just posted about a simple method to increase the height of picklist dropdowns in the SalesLogix web client.

I have a slightly different way to accomplish the same thing for individual picklists, so while not really more difficult to do, would require you to do it for as many picklists you want to modify.  Ryan's solution modifies a stylesheet to affect all picklists in the system at once.

In order to alter a specific picklist on a quickform, add a new C# Snippet action item to the Load event of the form, and add the following code to the action item:

string script = "var btn = document.getElementById('" + pklType.ClientID +"_Items'); if(btn) btn.size='8';"; 
ScriptManager.RegisterStartupScript(Page, GetType(), "FXSetPickListSize", script, true);

This particular code sample will modify the Account Type picklist on the AccountDetails quickform to a height of eight lines. Make sure you set the On Repaint Event and Refresh Data properties to True for the C# Code snippet, otherwise the change will not persist.

 If you want to see how to do this for all picklists at once, see Ryan's post here.


What's This?
  
Bookmark and Share

About Jason Buss

   Jason is a senior application developer with Customer FX.



Related Content
   Saleslogix Xbar update coming soon
Scheduled to be released 8/29/2014 Features in Update •Installation improvements •Enterp
Posted on Aug 21, 2014 by Scott Weber to SalesLogix Product Blog
 
   Configuring and Packaging secured actions in Saleslogix 8.0
Using Secured Actions, you can restrict access to user interface elements in the Saleslogix web client.
Posted on Aug 12, 2014 by Jason Buss to Jason Buss' Blog
 
   How do you add a parameter for File Attachment Size and Timeout in Saleslogix 8.1?
Question: Is it possible to set a parameter for file attachment size and timeout in Salelogix? If
Posted on Aug 07, 2014 by Dale Richter to SalesLogix Questions & Answers
 
   Fixing Duplicate Saleslogix FieldIndex Values in the SECTABLEDEFS
I had to fix a client's SECTABLEDEFS table that contained duplicate FieldIndex values.  FieldInd
Posted on Aug 07, 2014 by Kris Halsrud to Kris Halsrud's Blog
 
   Saleslogix XBar Installation
When installing the new XBar application I found the instructions a little vague so I thought I would pas
Posted on Jul 18, 2014 by Mark Duthoy to SalesLogix Support
 
Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2014 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register