Carousel ItemDataBound

2 posts, 0 answers
  1. Trimox
    Trimox avatar
    20 posts
    Member since:
    Jul 2007

    Posted 05 Aug 2008 Link to this post

    I noticed something while testing..

    On ItemDataBound event if I have an XML DataSource that has 3 elements
    Arrest_Date, Arrest_Agency and MugshotPhoto <--each element calls this event separately.

    If I get an XML document that has 9 mugshots the code ends up running through this event 27 times.

    Am I not understanding something or is there a better way to do this?

  2. Peter
    Peter avatar
    1160 posts

    Posted 06 Aug 2008 Link to this post

    Hello Trimox,

    Thank you for writing.

    Ihave tested the ItemDataBound event with Quick-Start Framework ->Carousel->Music Library example and the event fires correctly once for each record in the datasource.

    Could you please prepare a simple project with XML file and send it to us?

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top