I have a class that I use to supply the image URL for toolbars. The values are held in an XML file.
I can use this quite successfully to set the ImageUrl of the various buttons in the page's code-behind.
I'd like to be able to use the same idea for populating this property in the markup.
I thought to just write something like this ...
ImageUrl='<%= IconManager.GetButton("Add") %>' />
But, it seems, you can't do that.
Is there a way around this or a way to achieve the same result?