Your usercontrol needs to inherit from umbraco.editorControls.
userControlGrapper.IUsercontrolDataEditor. Because of this you have the following property:
public object value
{
get
{
return TxtNodeTitle.Text;
}
set
{
SetTextBox(value.ToString());
}
}
If you hit the save button the get property get's called. The set property get's called when the page is being loaded.
How to catch save event in a umbraco usercontrol wrapper
How can i detected when the save or save and publish button in Umbraco Admin is clicked, in a usercontrol wrapper?
Thanks in advance!
Your usercontrol needs to inherit from umbraco.editorControls. userControlGrapper.IUsercontrolDataEditor. Because of this you have the following property:
If you hit the save button the get property get's called. The set property get's called when the page is being loaded.
Jeroen
Thanks very much!
is working on a reply...