ASPX templates
Version 5.x > ASPX templates > BizForm Radio Button Rendering View modes: 
User avatar
Member
Member
eric.rovtar - 5/24/2011 5:09:24 PM
   
BizForm Radio Button Rendering
Hi!

I use jQuery pretty heavily in my site, and I was looking for an easy way to select Radio Button Lists that Kentico renders horizontally, but not ones rendered vertically.

Right now, I can select all with this call: $(".FormPanel .RadioButtonList"), but this gets both horizontal and vertical. Is there a way to modify this to only get Radio Button Lists rendered horizontally?

I took a look at the source that was rendered, but it doesn't seem to contain anything specific about vertical vs horizontal lists.

Any help would be appreciative.

Thanks!

User avatar
Certified Developer 9
Certified Developer 9
charbf - 5/24/2011 9:11:53 PM
   
RE:BizForm Radio Button Rendering
Hi,

In the bizform fields definition you can set the Control CSS class. With that you should be able to set a different class for both vertical and horizontal radio button lists.

If you dont see this property in the field definition. Hit Switch to Advanced mode

Francois

User avatar
Member
Member
eric.rovtar - 5/25/2011 2:06:35 PM
   
RE:BizForm Radio Button Rendering
Perfect! I didn't think of that!!! Thanks, man.