Copied to clipboard

Flag this post as spam?

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


  • David F. Hill 122 posts 242 karma points
    Apr 09, 2012 @ 19:43
    David F. Hill
    0

    Umbraco 5.1 custom property editor and rendering the value

    Umbraco version 5.1

    Hello Umbraco Colleagues,

    I've created a simple custom property editor as a learning exercise. It's working fine - just a textbox.

    But the only way I can render the property (alias "specialText") in a template is by using this: @DynamicModel.specialText

    Selecting the property through the familiar "insert an umbraco page field" DDL does not render the property. This: @Umbraco.Field("specialText") causes no errors, just no value is displayed.

    Is this expected behavior? Could this be a 5.1 - Beta - thing? (I haven't tried this in 5.01.)

    Is there something I should include in my property editor code to get it to render through the DDL?

    Thanks,
    David

     

Please Sign in or register to post replies

Write your reply to:

Draft