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

Forums / Thunder / Add Custom Property Fields to Thunder's create widget designer?

Add Custom Property Fields to Thunder's create widget designer?

2 posts, 0 answered
  1. Chris
    Chris avatar
    49 posts
    Registered:
    20 Jul 2010
    18 Oct 2012
    Link to this post
    I'm trying to use Thunder to create the designer for my custom widget. In my widget I'd like to have a user editable variable that takes a string. I want users to be able to enter their string via the simple designer when adding my widget to their page. 

    Problem is, Thunder doesn't give me the option to add my variable as a Field in the Create a widget designer wizard. The only freilds I have listed are those default simple view fields (ClientIdMode, Eneable Themeing, etc...).

    In my widget's .cs file I have a variable declared that has no value, which I intend to use as the variable to store the users entered data. 

    Is it possible to have Thunder detect or somehow know which variables are to be used as property fields for the designer?

    If I'm unclear about anything in my question. Just ask and I'll attempt to clarify.

    Thanks!

  2. Marin Atanasov
    Marin Atanasov avatar
    62 posts
    Registered:
    24 Sep 2012
    19 Oct 2012
    Link to this post
    Hello Chris,

    Sitefinity Thunder can detect custom properties but you should make sure that:
    1. You have added a public property. Thunder cannot see field variables or non-public properties.
    2. You have built your project after the last changes which you have made to the widget. Thunder looks for the widgets and their properties from the project's assembly.

    If you cannot find your widget in the listed widgets while making the designer, please make sure that the widget does not have the ControlDesigner attribute and then build your project. Thunder filters out the widgets which have designers.

    Please let me know if you continue to reproduce this issue.

    Regards,
    Marin Atanasov
    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