<div class="sp1" style="background-image:url(<%#GetImage()%>);" runat="server"> </div>
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?
when I viewed the page's source..this is what I see..
<div class="sp1" style="background-image:url(<%#GetImage()%>);"> </div>