More in this section

Forums / Developing with Sitefinity / Changing A ControlDesigner?

Changing A ControlDesigner?

2 posts, 0 answered
  1. Cory
    Cory avatar
    12 posts
    Registered:
    08 Mar 2012
    10 Apr 2012
    Link to this post
    I have a HelloWorld widget working, exactly as is demoed here: http://www.sitefinity.com/blogs/gabesumner/posts/11-08-29/ldquo_hello_world_rdquo_guide_to_custom_sitefinity_widgets_amp_controldesigners.aspx 

    When I add a new property to HelloWorld.ascx.cs, add it to the form in HelloWorldDesigner.ascx and update it in the HelloWorldDesigner.js file, it doesn't save the contents of that new field.

    Does the call to this._propertyEditor.get_control(); somehow get binded and require a manual update somewhere that I'm missing? It's as if the controlData object isn't aware of the new property that's been added.

    Any help is appreciated.
  2. Josh
    Josh avatar
    13 posts
    Registered:
    10 Sep 2010
    21 Apr 2012
    Link to this post
    Hi Cory - 

    Can you post your code?


    Cheers,
    Josh
2 posts, 0 answered