Hello,
Here is my control:
<asp:Image id="thumbnail" name="thumbnail" ImageUrl="<%= GetBrowsePath((int)
DataBinder.Eval(Container.DataItem,'itemId')) %>" BorderWidth="0"
Height="70" Width="100" Runat="server" /
When I look to the HTML output I see:
...<%%%20GetBrowsePath((int)%20DataBinder.Eval(Contain er.DataItem,'itemId'))
%20%
Why I this not working?
Thanks!</asp:Image> is missing?
"Arjen" <boah123@.hotmail.com> wrote in message
news:bhtlee$i4s$1@.news1.tilbu1.nb.home.nl...
> Hello,
> Here is my control:
> <asp:Image id="thumbnail" name="thumbnail" ImageUrl="<%=
GetBrowsePath((int)
> DataBinder.Eval(Container.DataItem,'itemId')) %>" BorderWidth="0"
> Height="70" Width="100" Runat="server" />
> When I look to the HTML output I see:
...<%%%20GetBrowsePath((int)%20DataBinder.Eval(Contain er.DataItem,'itemId'))
> %20%>
> Why I this not working?
> Thanks!
Also "<%=" may be "<%#"
Also 'itemId' ?? check
"Arjen" <boah123@.hotmail.com> wrote in message
news:bhtlee$i4s$1@.news1.tilbu1.nb.home.nl...
> Hello,
> Here is my control:
> <asp:Image id="thumbnail" name="thumbnail" ImageUrl="<%=
GetBrowsePath((int)
> DataBinder.Eval(Container.DataItem,'itemId')) %>" BorderWidth="0"
> Height="70" Width="100" Runat="server" />
> When I look to the HTML output I see:
...<%%%20GetBrowsePath((int)%20DataBinder.Eval(Contain er.DataItem,'itemId'))
> %20%>
> Why I this not working?
> Thanks!
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment