Is UocDropDownList Width Customizable?
I am attempting to increase the width of the UocDropDownList in the Portal to no avail. I've tried editing the "Columns" property, but this seems to have no affect. Is it possible to increase the width of the UocDropDownList? Thanks! -Ryan
August 29th, 2011 10:41am

Hi There, Regrettably, with a quick review of the RCDC reference guide there doesn't appear to be an option that would allow you to control the width of the UocDropDownList control. The only available options are the common configuration options (Required, ReadOnly, RegularExpression, Visible, Options) and the control specific options (ValuePath, CaptionPath, HintPath, ItemSource, SelectedValue). Reference guide is at http://technet.microsoft.com/en-us/library/ee534918(WS.10).aspx Thanks B
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2011 7:56pm

Here's the only potential answer I've seen to this problem, and I haven't tried it so I have no idea what the steps would be: http://social.technet.microsoft.com/Forums/en-AU/ilm2/thread/312ab8f1-ccae-4e38-9251-fa63350c3409http://www.wapshere.com/missmiis
August 29th, 2011 10:50pm

The way I worked around this is by editing the following css file: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033 STYLES\CORE.CSS In there look for the value .ms-lookuptypeintextbox. This sets the initial size of the dropdownbox. However, this value gets overwritten by inline css to something like 218px. To workaround this change the following part .ms-lookuptypeintextbox { width:20em vertical-align:middle; } into: .ms-lookuptypeintextbox { width:40em !important; vertical-align:middle; } The !important part makes sure that the value cannot be overwritten by the inline CSS and therefor you are able to change the value inside the core.css file. In my example I doubled to size to 40em. Note that this of course will change size of every UocDropDownList you have inside the FIM Portal. However before this change that was also the case of course, since every dropdownbox was 20em then. I think it would be possible to create mutliple .ms-lookuptypeintextbox instances inside the core.css and have different instances of UocDropDownList point to different instances of .ms-lookuptypeintextbox I did not try that, but that would require a lot more customizing of course. Kind regards, Freek Berson The Microsoft Platform Twitter Linked-in Wortell company website
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2012 3:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics