More in this section

Forums / Developing with Sitefinity / Upload Control

Upload Control

3 posts, 1 answered
  1. Andrew
    Andrew avatar
    202 posts
    Registered:
    05 Jun 2009
    30 Jun 2009
    Link to this post
    Every time i make changes in my control i have to go to the web.config file delete it from the

    <

     

    toolboxControls> list and then add it in again within the admin panel.

    Is this right? It takes a realy long time for development. Is there anyway i can do this quicker?

    A

  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    02 Jul 2009
    Link to this post
    Hello Andrew,

    There is an easier way, just do not remove and re-add the control. Here is what I do when I deploy a control, and then I need to change it:

    1. Create a user control
    2. Define it in the control toolbox. At this point, I am able to drag and drop it on the page.
    3. I make a change on the control in visual studio, and I am seeing the change in the Sitefinity page as well. No need for removing and re-adding the control

    If you need to deploy the user control on a remote server, just upload the files and overwrite the old ones.

    I hope that I am not missing something.

    All the best,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
    Answered
  3. Andrew
    Andrew avatar
    202 posts
    Registered:
    05 Jun 2009
    02 Jul 2009
    Link to this post

    Hi Georgi,

    Thanks for this.
    It was in fact my own mistake.
    I should have paid more attention to what happens when you add the control.
    I did not realise it is copied and that is where the web.config points.
    I was making changes in my own original page. Thinking that is where the web.config points.

    Anyway, very silly of me.

    It's all sorted now.

    Thanks Again.

Register for webinar
3 posts, 1 answered