Hi all
I have a listbox inside a updatepanel. And have the onSelectedIndexChanged event on this listbox where i do some other opration.
Whenver there is a postback due to SelecteIndexChanged the attributes(stlyes) set to this listbox are gone.
foreach (ListItem objListItem in objListItems)
{
if(something) objListItem.Attributes.CssStyle.Add("color", "#F68933");
}
I found that this a bug in ASP.NET AJAX https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=103134
Is there any other workaround for this. Or am i doing everything correct.
Any help is appreciated, thanks in advance.
Thanks