More in this section

Forums / Developing with Sitefinity / Custom Widget deploy on live server

Custom Widget deploy on live server

2 posts, 0 answered
  1. Owain
    Owain avatar
    110 posts
    Registered:
    17 Jan 2012
    28 Mar 2012
    Link to this post
    Hi!
    This is probably a really simple question but I am hitting my head of the wall.

    I have made a "hello world" widget on my local PC and built the solution with no problems. What I want to do now is to move this widget over to the live server, I thought it would be a simple case of copy the folder over to the server, create the widget toolbox, point it to the location e.g. ~\myWidget\myWidget.ascx but when I try and pull the widget in to the page it tells me

    Type ~\myWidget\myWidget.ascx cannot be resolved.

    Now I presume this is because the live site hasn't been rebuilt but I don't have Visual Studio on the live server and I wouldnt really want to rebuild the entire website every time I wish to roll out a new widget.

  2. Owain
    Owain avatar
    110 posts
    Registered:
    17 Jan 2012
    28 Mar 2012
    Link to this post
    Fixed it!
    Firstly I made the mistake of using \ instead of / and secondly in my ascx file I used Codebehind= instead of Codefile=

    Hope this helps others.
2 posts, 0 answered