I have tried to make a custom data type ( <input type="password" /> ), I´m using the usercontrol wrapper. The value get stored and i can retrieve it in my template. But in umbraco backend, i can´t see that the field contains any data, there are no dots / star like this
I have tried debugging in vs2012, to verify that the data gets saved and retrived.
My code:
namespace WebApplication1 { public partial class maskedField : System.Web.UI.UserControl, umbraco.editorControls.userControlGrapper.IUsercontrolDataEditor { protected void Page_Load(object sender, EventArgs e) {
}
public object value { get { return TextBox1.Value; }
Hidden field / password field
I have tried to make a custom data type ( <input type="password" /> ), I´m using the usercontrol wrapper. The value get stored and i can retrieve it in my template. But in umbraco backend, i can´t see that the field contains any data, there are no dots / star like this
I have tried debugging in vs2012, to verify that the data gets saved and retrived.
My code:
namespace WebApplication1
{
public partial class maskedField : System.Web.UI.UserControl,
umbraco.editorControls.userControlGrapper.IUsercontrolDataEditor
{
protected void Page_Load(object sender, EventArgs e)
{
}
public object value
{
get { return TextBox1.Value; }
set
{
if(value != null && !String.IsNullOrEmpty(value.ToString()))
TextBox1.Value = value.ToString();
}
}
}
}
is working on a reply...