Copied to clipboard

Flag this post as spam?

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


  • greengiant83 88 posts 109 karma points
    Mar 01, 2011 @ 23:53
    greengiant83
    0

    How to remove label with custom data type

    I have a custom data type and i would like to give it as much screen real esate to work with as possible.  Is there a way to hide the property label when its displayed like the Richtext editor does?

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Mar 02, 2011 @ 09:11
    Hendy Racher
    0

    Hi,

    Yes, in your class that implements the IDataEditor interface, there's a bool property called ShowLabel, just set this to return false.

    HTH,

    Hendy

  • greengiant83 88 posts 109 karma points
    Mar 09, 2011 @ 16:02
    greengiant83
    0

    It looks like IDataEditor requires you to persist your data values seperately whereas IUsercontrolDataEditor allows you just expose a Value property that umbraco persists for you. Is there a way to do this with IUsercontrolDataEditor?

  • nelsenlim 70 posts 71 karma points
    Apr 22, 2011 @ 05:34
    nelsenlim
    0

    Yes is there a solution to this problem, i want to remove the label but IUsercontrolDataEditor does not implement ShowLabel.
    I read that we need to use javascript to hide the label, is there a server side solution?

Please Sign in or register to post replies

Write your reply to:

Draft