More in this section
Forums / Project Feather / Checkbox not reflecting the passed boolean value in the designer

Checkbox not reflecting the passed boolean value in the designer

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Ridhi
    Ridhi avatar
    11 posts
    31 May 2016
    01 Dec 2016
    Link to this post

    I have a custom MVC widget for which I created a custom designer which has 1 textbox and 2 checkboxes. I want to pass default values to the designer which should be shown in the designer whenever the user drags the widget to the page and clicks edit . I am able to successfully display the default value in the text box but the checkboxes are not showing the default values I am passing from the controller. 


    // this is how I am binding the controller boolean field showContactInfo in the designer.js file

     jQuery(this.get_showContactInfo()).attr("isChecked", controlData.showContactInfo );

    Please let me know asap.

  2. Ajai
    Ajai avatar
    0 posts
    10 May 2017
    20 Sep 2017
    Link to this post

    I am also facing the same issue? anybody have a solution for this .


    Basically I have a check box in the designer and I want the it's checked value to be set on the corresponding controller property.

2 posts, 0 answered