Click here to Skip to main content
15,915,086 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
<div class="row-fluid form-horizontal form-bordered">
                    <div class="control-group">
                        <label class="control-label" for="txtName">From Area:</label>
                        <div class="controls">
                            <asp:DropDownList ID="drpFromArea" runat="server" CssClass="input-block-level" ></asp:DropDownList>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="txtName">To Area:</label>
                        <div class="controls">
                            <asp:DropDownList ID="drpToArea" runat="server" CssClass="input-block-level" OnSelectedIndexChanged="drpToArea_SelectedIndexChanged"></asp:DropDownList>
                        </div>
                    </div>
                </div>
Posted
Comments
Sreekanth Mothukuru 6-Jul-15 1:12am    
You need to provide "Other" as an optional item in dropdown and when the use selects it you need to display input type text to accept the new value that is not in dropdown. Later on you can add the same to the dropdown.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900