Selected Index (an Image) make Larger

4 posts, 0 answers
  1. Angelus
    Angelus avatar
    2 posts
    Member since:
    Oct 2009

    Posted 27 Nov 2009 Link to this post

    Hi,

    I've been using the RadCarousel for a few months and I love it!

    I've just been trying to figure out a way to resize the currently selected index in the carousel.

    I understand that the zindex value can help tweak this, but i still would like it to zoom or make the selected index larger (im using movie covers as the elements in the carousel).

    I thought about trying to make it zoom when selected, with some C# code, but then i ran into some problems un-resizing it when it is not selected anymore.

    Any thoughts on how I can go about doing this?

    Thanks!
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 02 Dec 2009 Link to this post

    Hello Angelus,

    I'm sorry for my late answer, but I had to do some research. Unfortunately, it is not possible to add a custom behavior (zoom) for the selected item, because this will broke the carousel calculation. This seems to be an issue in RadCarousel and we are going to investigate it and hopefully resolve it in one of our next releases.
    You can adjust the ZScale property in order to change the scaling animation in a way that makes the items zoomed(selected).

    Greetings,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Harsh Dara
    Harsh Dara avatar
    1 posts
    Member since:
    Sep 2009

    Posted 31 Dec 2009 Link to this post

    Hi

    I am also trying to do the same thing using BusinesscardElement. I am using WinForms Q3 2009 and doing the following

    - Made a list of RadElements
    - Added four RadButtonElements and a BusinessCardElement to the list. 
    - Assigned the list to carousel
    radCarousel1.DataSource = products;
    - Assigned an event handler to SelectedIndexChanged event of the carousel
    - Within the event handler method, assigned the GalleryMouseOverBehavior to the BusinessCard
    carouselItem.AddBehavior(new Telerik.Examples.WinControls.Integration.BusinessCards.GalleryMouseOverBehavior());

    This works fine as long as i dont mouse over to the businesscardelement. Once i do that the businessCardelement stops behaving like a carousel item. I thought this should add to the behaviour of the item. Any ideas on how to fix this?

    Regards
    Harsh




  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 05 Jan 2010 Link to this post

    Hi Harsh Dara,

    Thank you for writing. I'm investigating your scenario, but it is not possible to add a zoom behavior for the selected item, because that might lead to wrong calculations in the carousel calculator. Please, excuse us for the inconvenience. Don't hesitate to contact us if you have other questions.

    All the best,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top