Hi
I put RadioButtonList in my page how I can change ListItem's text color
best regards
Neda
Use Attribute property in selected item
protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e) { RadioButtonList1.SelectedItem.Attributes["style"] = "color:red"; }
Output
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.