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

Forums / Bugs & Issues / Unable to add custom widget that was made using user control(.ascx) to Sitefinity 9.1

Unable to add custom widget that was made using user control(.ascx) to Sitefinity 9.1

3 posts, 0 answered
  1. Aparna
    Aparna avatar
    0 posts
    Registered:
    17 Oct 2016
    25 Oct
    Link to this post

    Hi all,

    I am working with Sitefinity 9.1 . I have created a user control named "Hello.ascx" in the folder "UserControl" within the root site folder. Registered this usercontrol to Sitefinity CMS backend  within Toolboxes » Toolboxes » PageControls » Sections. But when I tried to add this widget to the page ,I am getting an error "the usercontrol cannot  be resolved". Please do help me out to resolve this issue.

    Thanks

     

  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    25 Oct in reply to Aparna
    Link to this post

    With 9.1, unless someone has a gun to your head, you should be using Feather MVC widgets :)  Webforms ascx are bloaty and overly complex compared to MVC.  Also an MVC widget will register itself in the toolbox.

    Regarding this though, did you BUILD your project after you added the usercontrol?  If you did build, can you paste in the corrospoding Hello line from your Toolboxes.config?

     

    Either way though, thunder should be able to generate the stubs and register it for you.

  3. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    25 Oct in reply to Aparna
    Link to this post
    And can you please tell us, the values, which you put to Toolboxes. I guess you put something wrong or didn't build project
3 posts, 0 answered