1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / RadBinaryImage for Sitefinity backend pages

RadBinaryImage for Sitefinity backend pages

2 posts, 0 answered
  1. JOHN STRUCHYNSKI
    JOHN STRUCHYNSKI avatar
    14 posts
    Registered:
    30 May 2008
    16 Feb 2011
    Link to this post

    Hello,

    I have a FormView with a SqlDataSource in a backend Sitefinity 4 (custom module). I have stored images in a database field as varbinary(MAX) and want to display them in my formview. The error message I get when executing this code is "Cannot convert from string".

    <telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%# Eval("imagedata") %>' AutoAdjustImageControlSize="false" Width="90px" Height="110px" />

    Do I need to register any handlers in my app.config or web.config when using this control a custom module in Sitefinity?
    Any help is appreciated!

    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    21 Feb 2011
    Link to this post
    Hi JOHN ,

    Could you send me the entire stack trace of the error message?

    All the best,
    Ivan Dimitrov
    the Telerik team
2 posts, 0 answered