UpdateDocumentCache does not work for custom UsercontrolDataEditor
Hi guys, I hope you can help me with this one.
I created a custom UsercontrolDataEditor with is wrapped with "umbraco usercontrol wrapper". As example I put an ordinary text box in the ascx wich will be assigned to _umbval (the return value for the control).
privatestring _umbval;
publicobject value
{
get { return Status.Text; }
set { _umbval = value.ToString(); }
}
As experiment I try to save this value, not by pressing the publish button, but by internally publish code, like this.
UpdateDocumentCache does not work for custom UsercontrolDataEditor
Hi guys, I hope you can help me with this one.
I created a custom UsercontrolDataEditor with is wrapped with "umbraco usercontrol wrapper". As example I put an ordinary text box in the ascx wich will be assigned to _umbval (the return value for the control).
As experiment I try to save this value, not by pressing the publish button, but by internally publish code, like this.
The problem is that _umbval is only saved when the publishing button is pressed, and the code above is obsolete.
Thanks for any resonse.
is working on a reply...