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

Forums / Developing with Sitefinity / Converting Controls

Converting Controls

2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    01 Jul 2010
    Link to this post
    I changed a few of my controls to assemblies, now how do I go about changing the database to point to the assembly instead of the ascx usercontrol?  I would REALLY like to avoid having to delete\re-add controls and content

    Just modify the sf_WebControlBase table perhaps?
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    02 Jul 2010
    Link to this post
    Hi Steve,

    Thank you for using our services.

    Yes this is the table which stores the types of the controls are stored. What you should to is to run a query against this table and get all results where the Type matches your old type (url for user control). Then you should update this to the new value which is going to be in the web.confing toolbox section for registering the controls. Make sure you backup your database before performing this.

    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about 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