StrataFrame Forum

Adding new item in a Web ComboBox

http://forum.strataframe.net/Topic22204.aspx

By Milton Abe - 3/5/2009

I'd like to know how do I add an item manually in a web combobox.



Say that this combo is being loaded from a Business Object, but also I'd like to give an extra option to the user like "ALL"



The code generated should be something like this:







All the values but the first one should come from the database. The first one I'd like to add manually..





Thanks in advance,

Milton
By Edhy Rijo - 3/5/2009

Hi Milton,

Take a look at the TopMostItem of the combobox in the help file, it will allow you to handle that kind of input, also search forum using "TopMostItem" and you will find several thread on the topic.

By Trent L. Taylor - 3/6/2009

Yup...Edhy nailed it.  All SF combos, including SF combos have a TopMostItem property that allows for this very thing.