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 by unchecking 'Show Label'.
EDIT: Thanks for the answers :) Another way to do this is using AbstractDataEditor, but it is more complicated.
This is a bit of a workaround but should be OK for an admin function (where Name is the label you want to suppress):
<script type="text/javascript">
jQuery(document).ready(function () {
$("div.propertyItemheader:contains('Name')").hide();
});
</script>