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

Forums / Security / Deleting Uploaded User Controls

Deleting Uploaded User Controls

6 posts, 1 answered
  1. Samson
    Samson avatar
    14 posts
    Registered:
    01 Sep 2010
    12 Oct 2010
    Link to this post
    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.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    12 Oct 2010
    Link to this post
    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
    Answered
  3. Samson
    Samson avatar
    14 posts
    Registered:
    01 Sep 2010
    12 Oct 2010
    Link to this post
    Awesome! Thanks again. You have been a great help as always.
  4. Sharlyne
    Sharlyne avatar
    30 posts
    Registered:
    14 Aug 2008
    19 Jan 2011
    Link to this post
    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.
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    19 Jan 2011
    Link to this post
    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
  6. Sharlyne
    Sharlyne avatar
    30 posts
    Registered:
    14 Aug 2008
    26 Jan 2011
    Link to this post
    Yes, I was attempting to use the same name. I will try a different name and see if that works better. thanks!
Register for webinar
6 posts, 1 answered