CoverFlow event request

5 posts, 0 answers
  1. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 19 Jan 2010 Link to this post

    Hi telerik team

    I was wondering if it is possible to include another event on the telerik coverflow.

    Like the RadGrid view which has a rowloaded event, would it be possible to get a coverflow item loaded event, fired for each item in a coverflow when it's bind to a collection (from datacontext or itemsource) ?

    Regards

    Ludovic
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 19 Jan 2010 Link to this post

    Hi Ludovic,

    Why do you need this event? Generally you could get the same behavior if you put a UserControl in the ItemTemplate of RadCoverFlow and handle its Loaded event. Is this workaround acceptable?

    Best wishes,
    Valeri Hristov
    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. DevCraft banner
  4. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 19 Jan 2010 Link to this post

    I don't know, I'll have to try it.

    The scenario I've been asked to implement is to attach a context menu on each item of the coverflow.

    Since I'm using the rowloaded event on the radgridview, I was just thinking that it might be the same way concerning the coverflow
  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 20 Jan 2010 Link to this post

    Usually I don't recommend attaching separate context menu on each row, since this would generate lots of context menu controls, thus increasing the memory footprint of the application an decreasing the performance. I would rather recommend attaching a single context menu on the whole CoverFlow (or GridView, or TreeView) and configuring it when it is opened:
    http://demos.telerik.com/silverlight/#ContextMenu/FirstLook

    Best wishes,
    Valeri Hristov
    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.
  6. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 20 Jan 2010 Link to this post

    The thing is that in my scenario, the content of the context menu depends entirely on the content of the row/item on which it is being attached
Back to Top
DevCraft banner