Getting Images From database

7 posts, 0 answers
  1. Vipin
    Vipin avatar
    7 posts
    Member since:
    Jun 2009

    Posted 18 Jun 2009 Link to this post

    Hello ,

    I need to display Images saved in database (Binary format) in radrotator . Is their a easy way to Achieve this or some demo which can help  ?
     Any help will be Appreciated .

    Thanks
    Vipin Ajmera
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 19 Jun 2009 Link to this post

    Hello Vipin,

    You need to use a generic handler in order to achieve the desired result. For your convenience I  prepared a fully working sample that demonstrates the steps. Also I included the used database file.

    I hope this helps.

    Sincerely yours,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gilberto Moreno
    Gilberto Moreno avatar
    5 posts
    Member since:
    Jul 2009

    Posted 09 Jul 2009 Link to this post

    could show the solution a this problem in VB.NET?

    Please.

    Thanks
  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 10 Jul 2009 Link to this post

    Hello Gilberto,

    You can convert the code by using any C# \ VB.NET converter on the net. For example, you could use this one.

    I hope this helps.

    Best wishes,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Gilberto Moreno
    Gilberto Moreno avatar
    5 posts
    Member since:
    Jul 2009

    Posted 13 Jul 2009 Link to this post

    Hello Fiko,

    Thanks for your help, I could solve the problem.

    Best Regards
    Gilberto
  7. Lee Malo
    Lee Malo avatar
    29 posts
    Member since:
    Apr 2008

    Posted 19 Jul 2010 Link to this post

    I used this sample with the demo to load bianary images and everything works other than the rotator doesn't display the images. Not sure what to do as there are no error messages
  8. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 22 Jul 2010 Link to this post

    Hello Lee,

    RadBinaryImage uses HttpHandler to server the images loaded from the DataBase. This handler needs to be registered in the web.config file of the application. Could you please verify that the httpHandler is registered? If not, you could use the control's smart tag to register the handler, or manually add the definitions described in the following article from our online documentation (bottom of page).

    Kind regards,
    Pero
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017