开发者

Append filename to Img src attribute using resource file

When I try to append the image name onto the end of the <%$ Resources:LocalizedText, MyKey %> the server doesn't build the path 开发者_如何学JAVAat all.

This is what I'm doing and it's not working:

<img id="Img2" runat="server"  src="<%$ Resources:LocalizedText, ImagesPath %>feature_LED.jpg" />

Is there any way to append?


this will work instead

src="<%= Resources.LocalizedText.ImagePath %>

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜