4
Reply

how to show the placeholder of dropdownlist in confirm box?

Fareeda Hussain

Fareeda Hussain

Apr 9 2017 4:25 AM
377
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 
 

Answers (4)