﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WebForms (How do I?)  » Adding new item in a Web ComboBox</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 01:13:08 GMT</lastBuildDate><ttl>20</ttl><item><title>Adding new item in a Web ComboBox</title><link>http://forum.strataframe.net/FindPost22204.aspx</link><description>I'd like to know how do I add an item manually in a web combobox.&lt;br&gt;
&lt;br&gt;
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"&lt;br&gt;
&lt;br&gt;
The code generated should be something like this:&lt;br&gt;
&lt;br&gt;
&lt;select id="cboBlah"&gt;&lt;br&gt;
&lt;option value="0"&gt;ALL&lt;/option&gt;&lt;br&gt;
&lt;option value="1"&gt;Blah&lt;/option&gt;&lt;br&gt;
&lt;option value="2"&gt;Bleh&lt;option&gt;&lt;br&gt;
&lt;option value="3"&gt;Blih&lt;/option&gt;&lt;br&gt;
&lt;option value="4"&gt;Bloh&lt;option&gt;&lt;br&gt;
&lt;/select&gt;&lt;br&gt;
&lt;br&gt;
All the values but the first one should come from the database. The first one I'd like to add manually.. &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks in advance,&lt;br&gt;
Milton</description><pubDate>Fri, 06 Mar 2009 09:17:26 GMT</pubDate><dc:creator>Milton Abe</dc:creator></item><item><title>RE: Adding new item in a Web ComboBox</title><link>http://forum.strataframe.net/FindPost22224.aspx</link><description>Yup...Edhy nailed it.&amp;nbsp; All SF combos, including SF combos have a TopMostItem property that allows for this very thing.</description><pubDate>Fri, 06 Mar 2009 09:17:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Adding new item in a Web ComboBox</title><link>http://forum.strataframe.net/FindPost22205.aspx</link><description>Hi Milton,&lt;/P&gt;&lt;P&gt;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.</description><pubDate>Thu, 05 Mar 2009 12:38:48 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>