Hi guys,
I've been playing around the rotator and now comes across this problem.
After I have populated the rad rotator from arraylist, how could I choose so that the first item to be shown is item #3 from the arraylist?
This is how I populate the rotator... I'm rotating number 0 to 4
ArrayList myList = new ArrayList();
RadRotator myRotator = new RadRotator();
for(int i=0; i<5; i++)
{
myList.Add(i.ToString());
}
myRotator.DataSource = myList;
myRotator.DataBind();
and it will do the rotation from 0 until 4. I would like to be able to control the starting item via query string. So if I get the value of 3 from the query string, the rotator will at first show number 3.
Thanks in advance.
I've been playing around the rotator and now comes across this problem.
After I have populated the rad rotator from arraylist, how could I choose so that the first item to be shown is item #3 from the arraylist?
This is how I populate the rotator... I'm rotating number 0 to 4
ArrayList myList = new ArrayList();
RadRotator myRotator = new RadRotator();
for(int i=0; i<5; i++)
{
myList.Add(i.ToString());
}
myRotator.DataSource = myList;
myRotator.DataBind();
and it will do the rotation from 0 until 4. I would like to be able to control the starting item via query string. So if I get the value of 3 from the query string, the rotator will at first show number 3.
Thanks in advance.