Last post May 28, 2010 12:18 PM by rivdiv
May 28, 2010 11:50 AM|NUStudent|LINK
hello, I am attemping to change the background color and bold the item the user has his / her mouse over in a checkboxlist. The checkboxlist is binded to a datasource on page load. When the user moves his mouse over the checkboxlist items I want the text
to do two things, Bold and change the background to a yellow.
I did some searches and didn't find what I was looking for. In fact, some people were creating a checkboxlist through a table (Which is not possible in my case without a lot lot more code).
May 28, 2010 12:18 PM|rivdiv|LINK
Define your style like:
On the page load, after you bind the checkboxlist to the datasource, do the following:
foreach (ListItem item in CheckBoxList1.Items)