DropDown Value Selection problem.......
Hi,
I have a problem regarding the DropDown selection.I have a one DropDown list with the 5 values forexample
"1","2","-------","3","4" etc. and i don't want to select the "----" values from the DropDown,i mean just disabled that item.
so what i will do?
i have used the disabled="true" property of DropDown List, it worked fine with the FireFox(FF) but it doesn't worked in IE6 & IE7
Exaple:
<asp:DropDownList ID="d1" runat="server" EnableViewState="true">
<asp:ListItem Text="[Select]" Value=""></asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem> <asp:ListItem disabled="true">--------------------</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
</asp:DropDownList>
thanks
Regards,
Dharmesh Tandel
dharmeshtandel
__________________
dharmeshtandel
|