Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Security > Deleting Uploaded User Controls

Deleting Uploaded User Controls

  • Samson avatar

    Posted on Oct 12, 2010 (permalink)

    How can I delete or remove unwanted/broken User Controls that I have uploaded to a project.  I have a mess of them now, if I can't its no big deal but it would be nice.

    Reply

  • Answer Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Oct 12, 2010 (permalink)

    Hello Samson,

    When you upload a control this adds a new entry inside <toolboxControls> section of the web.config. You can open the web.config and remove the new entry from the section above. This will also remove the control from the Toolbox. It is better to remove all reference to this control from your pages ( just delete the control from your pages through backend UI) before you remove it from the web.config.

    Kind regards,
    Ivan Dimitrov
    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

    Reply

  • Samson avatar

    Posted on Oct 12, 2010 (permalink)

    Awesome! Thanks again. You have been a great help as always.

    Reply

  • ASA avatar

    Posted on Jan 19, 2011 (permalink)

    I had removed a control using the methods specified here, but when I tried to add it back in, I get the error that the control already exists. I check the webconfig file to make sure the <add..> line does not exist and it does not. How can I get this control to work?

    I attempted to add the <add...> line back into the config file, but then the browser gives me the error that the control already exists.

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Jan 19, 2011 (permalink)

    Hi Samson,

    Did you use the same name for the control? Try using different name. The problem could come up if you have left some reference on a page of this control or the web.config is not properly changed.

    Greetings,
    Ivan Dimitrov
    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

    Reply

  • ASA avatar

    Posted on Jan 26, 2011 (permalink)

    Yes, I was attempting to use the same name. I will try a different name and see if that works better. thanks!

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Security > Deleting Uploaded User Controls