diff --git a/components/editorControls/userControlWrapper/usercontrolDataEditor.cs b/components/editorControls/userControlWrapper/usercontrolDataEditor.cs index aeaef5ac21..1174508fbb 100644 --- a/components/editorControls/userControlWrapper/usercontrolDataEditor.cs +++ b/components/editorControls/userControlWrapper/usercontrolDataEditor.cs @@ -16,11 +16,19 @@ using umbraco.IO; namespace umbraco.editorControls.userControlGrapper { + [ValidationProperty("Value")] public class usercontrolDataEditor : System.Web.UI.WebControls.PlaceHolder, umbraco.interfaces.IDataEditor { private umbraco.interfaces.IData _data; private string _usercontrolPath; + public object Value + { + get + { + return ((IUsercontrolDataEditor)Controls[0]).value; + } + } public usercontrolDataEditor(umbraco.interfaces.IData Data, string UsercontrolPath) {