I have MVC2 applications that runs well on the root of website, however when I publish it to a Virtual Directory, none of the images or css worked. I used Url.Content, and all worked except for video files using Javascript and JW Player. I am building my dynamic buttons using:
onClick = string.Format("videoplayer('../video/{0}')", VideoName);
Now I need to use Url.Content, tried several ways but failed, I would appreciate your input. Thanks in advance