I am working on creating a user control which has editable properties. I followed the example shown on this page http://www.sitefinity.com/help/developer-manual/adding-user-controls-implementing-control-designers.html
The user control I create is very simple, all it has is a text box that displays the text in a label on a page. When the user control loads and I enter text into the textbox the control runs fine, however, when I try to click on "I am done" or try to edit the user control the second time, I run into this error on "base.LoadControlState(state);" call in the LoadControlState method "Object of type 'System.String' cannot be converted to type 'System.String'."
protected override void LoadControlState(object savedState)
if (savedState != null)
object state = (object)savedState;
this.tempName = (string)state;
Could you please let me know what I am missing?