Hi,
All other fields display correctly and if I remove the RadBinaryImage and bind the raw data I get "<Binary Data>" so I know I am binding correctly.
Is there something I am missing. My images won't display. I have a datalist that is bound from code behind. Here is what it looks like:
.ascx
| <asp:DataList ID="dlProducts" runat="server" RepeatColumns="4" RepeatDirection="Horizontal" |
| RepeatLayout="Table" ItemStyle-CssClass="ItemBox"> |
| <ItemTemplate> |
| <ul> |
| <li> |
| <telerik:RadBinaryImage ID="rbiGridImage" runat="server" DataValue='<%# DataBinder.Eval(Container.DataItem, "PictureBinary") %>' /> |
| </li> |
| <li> |
| <%# DataBinder.Eval(Container.DataItem, "Name") %></li> |
| <li> |
| <%# DataBinder.Eval(Container.DataItem, "OldPrice") %></li> |
| <li> |
| <%# DataBinder.Eval(Container.DataItem, "Price") %></li> |
| <li> |
| <%# DataBinder.Eval(Container.DataItem, "MName") %></li> |
| </ul> |
| </ItemTemplate> |
| </asp:DataList> |
Any ideas?
One more thing, if I the run query that loads my data the "PictureBinary" field data looks like this:
0xFFD8FFE000104A46494600010101004800480000FFE1118545.....
Which looks pretty binary to me.
Thanks. Joe.