Setting image using a method but image's not displaying
<pre><code>&lt;div class="sp1" style="background-image:url(&lt;%#GetImage()%&gt;);" runat="server"&gt;&amp;nbsp;&lt;/div&gt;
</code></pre>

<p>Tested my method by assigning the String(containing my image's path) returned by it to a label..its getting the path alright..then why wont it display when I run the code?</p>

<p>when I viewed the page's source..this is what I see..</p>

<pre><code> &lt;div class="sp1" style="background-image:url(&amp;lt;%#GetImage()%&gt;);"&gt;&amp;nbsp;&lt;/div&gt;
</code></pre>
