Community & Support
Skip Navigation LinksHome / Community & Support / Code Library / WinForms > Carousel > RadCarousel Hi-Res Image Gallery

Not answered RadCarousel Hi-Res Image Gallery

Feed from this thread
  • Posted on Aug 21, 2008 (permalink)

    Requirements
    RadControls for WinForms version  Q2 2011              
    .NET version 2.0
    Visual Studio version 2008
    programming language C# and VB

     
    PROJECT DESCRIPTION
    This example demonstrates how you can quickly and smoothly browse through local images using RadCarousel for WinForms. The application also showcases some of the performance features of RadCarousel for WinForms.

    Once the application is started, a Browse dialog appears (featuring RadDropDownList and RadButton for WinForms), asking the user to input a local folder with images. The images are then loaded in RadCarousel and can be previewed with a single click.

    Features of the application:
    • Load on demand - only the visible images are loaded in the Carousel, regardless of the amount of images stored in the local folder;
    • Image reflection - RadCarousel handles the reflection of all images for a nice and complete visual appearance of the application;
    • Thumbnail generation - proportional image thumbnails are created for just the images visible in the carousel - this way the carousel rotates scaled-down images with smaller size, rather than the original high-resolution images;
    • Zooming - clicking on the focused/center image smoothly expands the image to fit the parent RadForm and loads the image with its original quality;
    • Form Resize - when the form is resized, the image size is recalculated to fit the new size of the parent form;
    • Image types supported: JPG, JPEG, GIF, PNG, BNP

    RadCarousel thumbnails
     

    Regards,
    The Telerik Team

    Reply

  • Larry avatar

    Posted on Dec 5, 2009 (permalink)

    This project does not convert to a Visual Studio 2008 version.  Could you post a 2008 version?  I am not the only one who has had problems converting this project.  Please post an updated version.  Visual Studio 2010 is coming out soon.  Are you going to support this new version?

    Reply

  • Vassil Petev Vassil Petev admin's avatar

    Posted on Dec 8, 2009 (permalink)

    Hi Larry,

    I converted project to VS 2008 with 1 error: "Project file is not writable." Even with that error present, the project converted successfully (see the conversion log: "Solution converted successfully" and Description="Converted"). Is this the error you saw?

    I have also attached the converted solution. Note that we have turned off the image reflection (see the code below) because currently there is a issue with it.
     
    radCarousel1.ItemReflectionPercentage = 0;

    We are working on this issue as we speak.

     
    Best wishes,
    Vassil
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
    Attached files

    Reply

  • akme avatar

    Posted on Jul 2, 2010 (permalink)

    I've downloaded this project example, but I cannot understand why it throws this error:

    Bounds cannot be changed while locked


    This happens when the visible items value is set lower then the image list strings discovered in the directory.

    I've read that I should use Invoke(), but I have no clue in wich method or how...

    Any suggestions??

    Thanks

    Reply

  • akme avatar

    Posted on Jul 2, 2010 (permalink)

    Nevermind still reflection issue...

    thanks

    Reply

  • mathieu avatar

    Posted on Aug 23, 2011 (permalink)

    Hi,
    I'm interested to know if you solved your problem. Could you upload your project please?

    thanks

    acheo

    Reply

  • Martin Vasilev Martin Vasilev admin's avatar

    Posted on Aug 26, 2011 (permalink)

    Hello everyone,

    Thank you for writing.

    Actually, I am unable to reproduce the described exception in Akme's post. To run the sample properly the ItemReflectionPercentage property should be set to 0 as it was explained before:
    public GalleryView()
    {
        InitializeComponent();
         
        //IMPORTANT! turn off the images reflection
        this.radCarousel1.ItemReflectionPercentage = 0;
    }

    Keeping the above setting, specifying the lower visible items count works as expected:
    private void GalleryView_Shown(object sender, EventArgs e)
    {
        //...
     
        this.radCarousel1.VisibleItemCount = 5;
    }

    Regards,
    Martin Vasilev
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / WinForms > Carousel > RadCarousel Hi-Res Image Gallery