We are using 3.6 SP2
We have problem with RadioButtonList rendering in our user control that is uploaded to Sitefinity.
No matter what Repeatdirection / RepeatLayout we set Listitems are always rendered vertically as <ul>-<li>.
It only happens inside Sitifinity pages. When we tested the control in aspx page (e.g different project ) it worked as expected.
After some Research we came to know about this :
As mentioned in this post it is due to control adpter provided for RadioButtonLists
We have tried to remove the line highlighted below and it worked:
| <adapter controlType="System.Web.UI.HtmlControls.HtmlForm" adapterType="Telerik.Cms.Web.FormAdapter, Telerik.Cms" />
| <adapter controlType="System.Web.UI.WebControls.RadioButtonList" adapterType="Telerik.Cms.Web.UI.Adapters.RadioButtonListAdapter" />
But we don't want to use this approach. Is there any other workaround for this ?
Can we instruct Sitefinity that it should not apply controladpter for radiobuttonlist when it is in particular page or something like that ?
How do we fix this by "styling the RadioButtonLists
with custom CSS." as mentioned in the above post ? Please let us know sample style for this if possible.