The best way to set your image path in a Generic Content item is to use an absolute path relative only to the application name (i.e. to set the src attribute to: /YourAppName/Images/logo.gif
). That would mean that you need to update the path once you upload your project to the production server.
That is why we would recommend that you use the microsoft Image control which is available in the toolbox on the right, and not the Generic content control. What you will need to do is set the ImageUrl property to: ~/Images/logo.gif
, and the image would be the same in both environments.
I hope this solution will work for you.
Please, let me know if you need more assistance.
All the best,
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.