Getting Images to render properly in the ASP.NET Designer
Posted by: Rick Strahls WebLog,
on 22 Nov 2007 |
View original | Bookmarked: 0 time(s)
I'm embarrassed to say that I didn't quite know how to get controls to render image urls properly in the designer. The situation is as follows: You create a custom server control and you have an image property and you allow the use of the ~/images/someimage.gif syntax to specify the image path. I use this sort of thing frequently and have many controls that use custom image urls. For example, I have an error/notification control that has ErrorImageUrl and InfoImageUrl properties, a calendar that...