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

Getting Images From database

6 Answers 129 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Vipin
Top achievements
Rank 1
Vipin asked on 18 Jun 2009, 11:11 AM
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

6 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 19 Jun 2009, 04:15 PM
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.
0
Gilberto Moreno
Top achievements
Rank 1
answered on 09 Jul 2009, 09:07 PM
could show the solution a this problem in VB.NET?

Please.

Thanks
0
Fiko
Telerik team
answered on 10 Jul 2009, 03:37 PM
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.
0
Gilberto Moreno
Top achievements
Rank 1
answered on 13 Jul 2009, 09:17 PM
Hello Fiko,

Thanks for your help, I could solve the problem.

Best Regards
Gilberto
0
Lee Malo
Top achievements
Rank 1
answered on 19 Jul 2010, 11:44 PM
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
0
Pero
Telerik team
answered on 22 Jul 2010, 11:57 AM
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
Tags
Rotator
Asked by
Vipin
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Gilberto Moreno
Top achievements
Rank 1
Lee Malo
Top achievements
Rank 1
Pero
Telerik team
Share this question
or