I am creating a custom Data Type for Umbraco.
It is a UserControl (.ascx file) derived from IUsercontrolDataEditor. (It shows a grid that lists all the child nodes)
How do I make this control full-width?
ie. I want to hide the label, just like what you can do with RichTextEditor.
Umbraco custom Data Type - how to hide the label?
I am creating a custom Data Type for Umbraco.
It is a UserControl (.ascx file) derived from IUsercontrolDataEditor.
(It shows a grid that lists all the child nodes)
How do I make this control full-width?
ie. I want to hide the label, just like what you can do with RichTextEditor.
The only way I know of is to use some javascript as in this forum post.
Douglas is right, with the usercontrolwrapper you can't do this without a client side hack like above.
If you're using a AbstractDataEditor there is a property called ShowLabel you can use.
-Tom
is working on a reply...