Enhanced for image on disc

2 posts, 0 answers
  1. Per Holmqvist
    Per Holmqvist avatar
    194 posts
    Member since:
    Nov 2002

    Posted 28 Sep 2009 Link to this post

    Would it be possible to enhance the Binaryimage so you could save only the filename in the SQLDB and read the image from disc?
    It would benefit a lot for liveresize and so on....
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 28 Sep 2009 Link to this post

    Hello Per,

    If you would like to save only the name of the image in the database and keep its storage on the server disk, you can specify ImageUrl for the binary image as explained here or use regular asp Image control to achieve your goal. In case you perform editing operations in data bound control, you can embed the binary image or the standard asp Image in item template and MS TextBox inside edit template of a template column (the second would be to store the name of the image in the grid source).

    Generally, the purpose of the RadBinaryImage control is to visualize an image streamed from byte array in the grid's data source.

    Best regards,
    Sebastian
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top