Hey there,
Working with radrotator similar to the image gallery example shown on your website. 2 things I am wondering...
1. how can i detect the current items shown out of the array? Preferably on the client side, but if not, server-side is fine too. That is, if I have 27 items and the room to show 4 at a time... how could i tell as I rotate through them which is the start/end items in my list?
e.g. I want to have "Now showing 5 to 9 of 27" text below my rotator. I want the '5'/'9' numbers to be updated either on Page_Load (initially) or after I move the screen left/right one. Anyone know how to do this?
2. Supposing the '5' in the example above was actually a text box the user could type in and hit <ENTER> to set the starting item... how could I do this?
Edit: 1 more question related to the radrotator...
1. In OnItemclick server-side event, the rotator seems to reset to the first item in the list. How can I set it to stay at the current frame. E.g. if I show 4 items at once and have moved over 7, how can I set it up that if I click on the 3rd item, it is in 3rd position of the visible elements in the rotator on page postback.
Thx,
Rob
Working with radrotator similar to the image gallery example shown on your website. 2 things I am wondering...
1. how can i detect the current items shown out of the array? Preferably on the client side, but if not, server-side is fine too. That is, if I have 27 items and the room to show 4 at a time... how could i tell as I rotate through them which is the start/end items in my list?
e.g. I want to have "Now showing 5 to 9 of 27" text below my rotator. I want the '5'/'9' numbers to be updated either on Page_Load (initially) or after I move the screen left/right one. Anyone know how to do this?
2. Supposing the '5' in the example above was actually a text box the user could type in and hit <ENTER> to set the starting item... how could I do this?
Edit: 1 more question related to the radrotator...
1. In OnItemclick server-side event, the rotator seems to reset to the first item in the list. How can I set it to stay at the current frame. E.g. if I show 4 items at once and have moved over 7, how can I set it up that if I click on the 3rd item, it is in 3rd position of the visible elements in the rotator on page postback.
Thx,
Rob