This is a migrated thread and some comments may be shown as answers.

I displayed an image using the RadBinaryImage

1 Answer 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
ALBERT asked on 29 May 2012, 10:32 PM

the field in the database is a varbinary (max)
I have
the following in html:
<asp:Repeater ID="Repeater1" runat="server">
                <telerik:RadBinaryImage ID="ImgFoto" runat="server" Visible="true" DataValue='<%#Eval("foto") %>' />

In the code: object[] opParametros = new object[1];
            opParametros[0] = "93";
             DsInfoEmpleado = _fwAccesoDatos.ExecuteDataset(StrCadenaConexion, "spObtenerInfoPerfilEmpleado", opParametros);
             Repeater1.DataSource = DsInfoEmpleado;

in web.config:
            <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode"     path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />

the image is not displayed. Thank you for your help.

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 01 Jun 2012, 01:29 PM
Hi Albert,

If you run the page in Firefox with Firebug Network tab enabled (or an identical tool), do you notice any bad requests? Also, can you confirm that you are not running the page in a web farm or web garden scenario, as this is not supported with RadBinaryImage.

the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question