Try our conversational search powered by Generative AI!

Extending XForms extensibility to extend a EPiServer.XForms.WebControls.Select1 control

Vote:
 

Hi,

We tried extending xforms as suggested in a way suggested by frederik (http://www.frederikvig.com/2010/11/semantic-markup-with-episerver-xforms/)

Is there a way of changing the html markup rendered by EPiServer.XForms.WebControls.Select1. This is rendered when radio buttons are used in XForms. Particulary we are interrested in removing the legends generated by this control.

Any suggestions are helpfull.

Regards
Lucas

#80150
Jan 15, 2014 17:24
Vote:
 

Perhaps you could try a ControlAdapter for changing the control; here is an example on how if you need it.

#80159
Jan 15, 2014 22:08
Vote:
 

There is a PageAdapter code example here perhaps keeping things a bit shorter (HyperlinkPropertiesAdapter.cs, works the same way), as well as a ControlExtension(s.cs) useful for locating what you want to remove.

#80160
Jan 15, 2014 22:16
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.