difference between DropDown and DropDownList
New DiscussionI’m using WebDataGrid with DropDownProvider. and I bound DataTable to the DropDownProvider.
The property “DisplayMode” of EditorControl has DropDown, DropDownList, ReadOnly and ReadOnlyList.
I know how ReadOnly (or ReadOnlyList) works.
but I couldn’t find the difference between DropDown and DropDownList.
using ReadOnly, it binds only 1 item. using ReadOnlyList, it binds all item
but DropDown binds all item of the DataTable.
please explain the difference.
Thanks.
<ig:WebDataGrid ID=”WebDataGrid1″ runat=”server” Width=”100%” Height=”700px” EnableDataViewState=”true” DataKeyFields=”RowNum” >
<EditorProviders>
<ig:DropDownProvider ID=”ddpCurrency” >
<EditorControl ID=”EditorControl1″ runat=”server” Width=”100%” DisplayMode=”DropDownList”></EditorControl>
</ig:DropDownProvider>
</EditorProviders>
…
</ig:WebDataGrid>