Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Aximili 177 posts 278 karma points
    Aug 15, 2012 @ 08:21
    Aximili
    0

    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.

  • Douglas Ludlow 210 posts 366 karma points
    Aug 15, 2012 @ 16:43
    Douglas Ludlow
    2

    The only way I know of is to use some javascript as in this forum post.

  • Tom Fulton 2030 posts 4996 karma points c-trib
    Aug 15, 2012 @ 16:56
    Tom Fulton
    1

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies