Using the Dropdown list seen below, if user selects an option called "Other", a textbox pops up. User can then type an option and on Save of webpage, it will be added to the DropDownList. I need easiest most straightforward way to accomplish this. Have not been able to find a lot of help. Thank you.
Our version is: RadControls for ASPNET AJAX Q2 2008
Please let me know if you need any other information.
Thank you
<
telerik:RadGrid
runat="server"
ID="grdTypes"
Skin="Office2007"
EnableEmbeddedSkins="True"
AllowAutomaticDeletes="True"
AllowAutomaticUpdates="True"
AutoGenerateColumns="False"
AllowMultiRowEdit="True"
EnableAJAX="True"
GridLines="None"
Width="400px"
OnNeedDataSource="grdTypes_NeedDataSource"
OnDeleteCommand="grdTypes_DeleteCommand"
>
<ExportSettings>
<Pdf PageBottomMargin="" PageFooterMargin="" PageHeaderMargin="" PageHeight="11in"
PageLeftMargin="" PageRightMargin="" PageTopMargin="" PageWidth="8.5in" />
</ExportSettings>
<MasterTableView
CommandItemDisplay="Top"
EditMode="EditForms"
DataKeyNames="TypesID"
AutoGenerateColumns="false"
AllowSorting = "true">
<EditFormSettings>
<EditColumn CancelImageUrl="/next/RadControls/Grid/Skins/TEST/Cancel.gif" EditImageUrl="/next/RadControls/Grid/Skins/TEST/Edit.gif"
InsertImageUrl="/next/RadControls/Grid/Skins/TEST/Update.gif" UniqueName="EditCommandColumn2"
UpdateImageUrl="/next/RadControls/Grid/Skins/TEST/Update.gif">
</EditColumn>
</EditFormSettings>
<CommandItemTemplate >
<asp:LinkButton ID="InitInsertButton" runat="server" CommandName="InitInsert" >
<img alt="Add Record" src="/next/RadControls/Grid/Skins/TEST/AddRecord.gif" /> Add new record</asp:LinkButton>
</CommandItemTemplate>
<Columns>
<telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderText="Edit">
<ItemStyle Width="10px"/>
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn
CommandName="Delete"
ConfirmText="Are you sure you wish to delete this record?"
Text="Delete"
HeaderText="Delete"
ImageUrl="/next/RadControls/Grid/Skins/Test/Delete.gif"
UniqueName= "DeleteColumn2"
ButtonType="ImageButton"
ShowSortIcon="False"
>
<ItemStyle Width="10px"/>
</telerik:GridButtonColumn>
<telerik:GridBoundColumn Visible="false" ReadOnly="true" DataField="TypesID" UniqueName="TypesID">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn Visible="false" ReadOnly="true" DataField="DDID" UniqueName="DDID">
</telerik:GridBoundColumn>
<telerik:GridDropDownColumn
DataField="TypesID"
HeaderText="Types"
UniqueName="TypesID"
DataSourceID="myTypes"
ListValueField="TypesID"
ListTextField="TypeName"
DropDownControlType="DropDownList"
>
<ItemStyle Width="210px"/>
</telerik:GridDropDownColumn>
</Columns>
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
</MasterTableView>
<FilterMenu EnableEmbeddedSkins="False" EnableTheming="True" Skin="TEST">
<CollapseAnimation Duration="200" Type="OutQuint" />
</FilterMenu>
</telerik:RadGrid>