I have a drop down list that is bound using an HTTP data service from a database (set up through the wizard, not as a declaration). My drop down list changes the values in my datagrid and I need that "Select One" null value so that users can select everything. Here is my drop down list:
<s:DropDownList id="ddlProducts" width="400" prompt="Select a Product" close="dataGridContentChanging()" creationComplete="ddlProducts_creationCompleteHandler(event)" labelField="Title">
<s:dataProvider>
<s:AsyncListView list="{GetProductsResult.lastResult}"/>
</s:dataProvider>
</s:DropDownList>
Is there a way to always keep the prompt or to programmatically add a "Select One" to the -1 index of the drop down list?
Any help is apprecitated. Thanks!