Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
how to show the placeholder of dropdownlist in confirm box?
Fareeda Hussain
Apr 9 2017 4:25 AM
377
Reply
Hi
In my web application there is a dropdown list that will show confirm box while changing the listitem . I have added title for each listitem
eg :
<asp:DropDownList ID="myddl" runat="server" AppendDataBoundItems="true" onchange="Confirm()" AutoPostBack="true"
OnSelectedIndexChanged="myddl_SelectedIndexChanged" >
<asp:ListItem Value="0">--select--</asp:ListItem>
<asp:ListItem title="ABC" Value="1" >AAA</asp:ListItem>
<asp:ListItem title="EFG" Value="2" >BBB</asp:ListItem>
</asp:DropDownList>
How can I show the title of these selected item on confirm box?
thanks inadvance
Fareeda
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Unable to bind Cascading Dropdowns - jQuery AJAX
Asp.Net MVC Demo Project