|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Style="text-decoration: line-through"I have a dropdownlist.
When the user clicks on a button I want the selected listitems text to be line-through. Is this possible in IE? or with some javascript? tia hi klass, you can make all items, not just the one selected item.
Setting font styles on individual option items in a select element is not supported in IE. protected void Button1_Click(object sender, EventArgs e) { DropDownList1.Attributes.Add("style", "text-decoration: line-through"); } Regards, Alessandro Zifiglio http://www.AsyncUI.net Show quoteHide quote "Klaas" <NoSpam@klaas.com> ha scritto nel messaggio news:%23tUtdfVuGHA.3392@TK2MSFTNGP04.phx.gbl... >I have a dropdownlist. > When the user clicks on a button I want the selected listitems text to be > line-through. > Is this possible in IE? or with some javascript? > > tia > > >
Dynamic ImageButton inside GridView ASP .NET
dynamic image? store and retrieve properties values? resizable web control? Hiding columns in GridView control Gridview Questions User Control Renders on Separate Line Redirecting to another page after a specified time Integration with office Recommended way to add child controls in CreateChildControls treeview control setting focus ahead in a repeater |
|||||||||||||||||||||||