Custom Widget deploy on live server

Posted by Community Admin on 04-Aug-2018 12:06

Custom Widget deploy on live server

All Replies

Posted by Community Admin on 28-Mar-2012 00:00

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.

Posted by Community Admin on 28-Mar-2012 00:00

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.

This thread is closed