|
-
Jun 22nd, 2004, 09:01 AM
#1
Thread Starter
Frenzied Member
Stylizing individual CheckBoxes in a CheckBoxList
I'm databinding a CheckBoxList to a database and would like to change the style for each CheckBox created within it.
I only want to change the border of each CheckBox - I've set up some classes in the CSS to do this.
However if I set the CssClass of a CheckBoxList it sets the class for the table containing all the CheckBoxes not the individual CheckBoxes.
Anyone got a solution for this one?
Cheers
DJ
-
Jun 22nd, 2004, 11:05 AM
#2
Frenzied Member
loop through the list and set each ones CSSClass? Bassed on I dunno what.
Magiaus
If I helped give me some points.
-
Jun 23rd, 2004, 03:13 AM
#3
Thread Starter
Frenzied Member
I tried to loop through but they are stored as ListItems not CheckBoxes and therefore don't have a CssClass Property.
DJ
-
Jun 23rd, 2004, 04:36 AM
#4
Frenzied Member
Did you try doing a type cast?
Magiaus
If I helped give me some points.
-
Jun 23rd, 2004, 04:40 AM
#5
Thread Starter
Frenzied Member
Yep it's not having any of it!
-
Jun 23rd, 2004, 05:32 AM
#6
Frenzied Member
Magiaus
If I helped give me some points.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|