Full demo carrousel code

4 posts, 0 answers
  1. dahv
    dahv avatar
    4 posts
    Member since:
    Jun 2007

    Posted 30 Mar 2010 Link to this post

    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.
  2. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 02 Apr 2010 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. dahv
    dahv avatar
    4 posts
    Member since:
    Jun 2007

    Posted 03 Apr 2010 Link to this post

    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.
  5. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 08 Apr 2010 Link to this post

    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.
Back to Top