I save file with telerik RadAsyncUpload (asp):
<telerik:RadAsyncUpload runat="server" Localization-Select="select file" Localization-Remove="delete" 
                    Width="10px" ID="RadAsyncUpload1" MultipleFileSelection="Automatic" AllowedFileExtensions="jpg,jpeg,png,gif,pdf" 
                    ControlObjectsVisibility="None" EnableFileInputSkinning="true" />
in code behind I do:
byte[] bytes = null;
    if (RadAsyncUpload1 != null)
    {
        foreach (UploadedFile file in RadAsyncUpload1.UploadedFiles)
        {
            bytes = new byte[file.ContentLength];
            file.InputStream.Read(bytes, 0, file.ContentLength);
            WinPic.VisibleOnPageLoad = true;
            BinaryImage.DataValue = bytes;
        }
    }
and save in sql in column data type: varbinary(MAX).
for view the file I use on:
<telerik:RadBinaryImage runat="server" ID="BinaryImage" Width="600px" Height="600px" 
                ResizeMode="Fit" AutoAdjustImageControlSize="true" DecoratedControls="All" />
but my problem is, when I view file type pdf, it's dont Work. I see the picture like so:
Hope your help Tanks!
 
    