Hi, I'm watching the carrousel control and I like to know how they do the Music Library Demo, but I like to see the full project, my question is, if someone have the full solution of all the demos, thanks.
3 Answers, 1 is accepted
0
Deyan
Telerik team
answered on 02 Apr 2010, 03:07 PM
Hi dahv,
Each of our demos in our Demo Application has its source code exposed. You can see the source code by clicking on the C# Code/VB.NET Code tabs which are at the upper right part of the Demo Application.
I hope this is helpful.
Greetings,
Deyan
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.
Thanks, now I have other question, I'm working with Access 2007 and I create a field called Image and have Attachment type, and I save there my images, when I make the call of my field Image in the code, this return the name of the picture in string like "picture1.jpg" and don't show me the picture. So I need to know how you do this in the Album Demo, because you use this Dim image As Image = Me.GetImageFromBytes(EvaluatePropertyValue(e.DataItem, "Image")) and in my code I use the same but don't return the image only the name in string. So what type of field do you use in the database?, thanks.
0
Georgi
Telerik team
answered on 08 Apr 2010, 08:54 AM
Hi dahv,
Images are saved as an array of bytes into the database. Later on, when data is retrieved from the database, an Image instance may be created from that byte array. Or if you pass it as a Value for a cell in our RadGridView the bytes will be automatically converted to an Image and that image will be displayed in the cell.
For more information about SQL VARBINARY data type you may refer to this article. There are also may tutorials over the web which demonstrate how to read/write .NET image into a database.
I hope this helps. Do not hesitate to contact us if you have other questions.
Kind regards,
Georgi
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.