I'm having problems of my own with loading content into a ContentPlaceHolder
that is the child of a Panel control. For your problem I would try it this
way...
<td>
<asp:ContentPlaceHolder ID="GenerateImagePlaceHolder" ... />
</td>
Generate your image using application logic in a content page using the
ContentPlaceHolderID.
<!-- HTML from content page -->
<asp:Content ID="GeneratedImage"
ContentPlaceHolderID="GenerateImagePlaceHolder" ...>
<asp:Image ID="ImageGenerated" .... />
</asp:Content>
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL
http://www.metromilwaukee.com/clintongallagher/
"Andrew Robinson" <ne****@nospam.nospam> wrote in message
news:OM**************@TK2MSFTNGP04.phx.gbl...
I would like to use a ContentPlaceHolder within the following. Any ideas on
how to best accomplish this?
<td rowspan="2" style="width: 600px; background-image:
url('<asp:ContentPlaceHolder ID="ContentPlaceHolderRight" runat="server"
/>'); background-position: bottom right; background-repeat: no-repeat;">
I am thinking that I might have to use a set method off of the masterpage
to set this but I would rather do it declaratively in my content page.
Thanks,
--
Andrew Robinson
http://blog.binaryocean.com