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

Forums / Developing with Sitefinity / Is it possible to register a widget pointing to an ASCX instead of a compiled Type?

Is it possible to register a widget pointing to an ASCX instead of a compiled Type?

3 posts, 1 answered
  1. Michael
    Michael avatar
    41 posts
    Registered:
    07 Nov 2013
    18 Nov 2013
    Link to this post
    In ~/App_Data/Sitefinity/Configuration/ToolboxesConfig.config file.

    I'm migrating a Web site from 3.7SP4 to 6.2. I have a lot of user controls (that were used in 3.7 toolbox), which after I fix the code, will be displayed correctly on the migrated pages. But users won't be able to add the control again as they won't be displayed in the toolbox.

    Thanks.
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    19 Nov 2013 in reply to Michael
    Link to this post
    Totally, just use the relative path to the ascx instead of the type in that first box...give it a name and title, and it should be in the toolbox.
    Answered
  3. Michael
    Michael avatar
    41 posts
    Registered:
    07 Nov 2013
    19 Nov 2013 in reply to Steve
    Link to this post
    Thanks Steve. The attribute "type" made me go looking for a solution elsewhere, when it was that simple.
3 posts, 1 answered