Need to separate between 1st and last item in rotator

2 posts, 0 answers
  1. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 18 Jun 2010 Link to this post

    I Need to add an image or line in order to separate between 1st and last image in the rotator.
    How can i do that?
  2. Fiko
    Fiko avatar
    1406 posts

    Posted 23 Jun 2010 Link to this post

    Hi Maha,

    You can achieve a similar behavior by using the RadRotator's DataBound event and add an additional item to the RadRotator's Item collection:
    void RadRotator1_DataBound(object sender, EventArgs e)
        RadRotatorItem separatorItem = new RadRotatorItem();
        separatorItem.Controls.Add(new LiteralControl("SEPARATOR"));

    I hope this helps.

    All the best,
    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