1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Unable to add new properties to existing widget designer

Unable to add new properties to existing widget designer

2 posts, 0 answered
  1. David
    David avatar
    99 posts
    Registered:
    06 Sep 2012
    13 Sep 2011
    Link to this post
    I created a widget in my Sitefinity project (as opposed to creating a separate Visual Studio project) using the same approach as in the Donation widget of the Education starter kit. I now need to add additional properties to the widgets designer.  The textboxes for the new properties appear on the DesignerTemplate. However, the new properties do not get passed back and forth between simple and advanced view. Nor are the properties entered into the "simple" view saved.

    I tried the following:
    1. Deleted the widget from all pages.
    2. Deleted the widget from the toolbox.
    3. Rebooted my windows 7 development machine.
    4. Deleted temp asp.net files.
    5. Re-registered the widget on the toolbox.
    6. Still doesn't work.

    I don't know what else to try, do you have any suggestions?

    In order to ensure there were no errors in my code, I tried the following and it worked.
    1. Created a new Sitefinity site.
    2. Copied the folder that contains the widget into the new Visual Studio project.
    3. Registered the widget on the toolbox

    All of the properties work in the new project. However, since I have a lot of content in the database, creating a new site is not really an option.




  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    16 Sep 2011
    Link to this post
    Hello David,

    Please make sure you have properly used get/set in your control. You can debug it to see why the values are not getting passed. Also you can visit our documentation and review the section related to the custom designers. It contains valuable information and code samples.

    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered