our pages are generated from XML.
it looks something like:
<ControlID='txtFirstName' text='..' ...../>
<ControlID='txtLastName' text='..' ...../>
<ControlID='chkLeft' text='..' ...../>
<ControlID='chkRight' text='..' dir='rtl'...../>
so when rendering the page, I cannot know if there are any checkboxes or radio buttons, and if there are, what direction text they use.
in all the other controls I can add something like that:
DirectCast(x, WebControl).Style.Add("direction", "rtl")
and it works fine.
The only problem is in checkbox and radio button.
And I cannot use buttons as checkbox/radio button
10x in advanced