I have the following rotator that is linked to an xml file
The rotator shows an image and title below it
The XML file contains 12 entities. I want to do display 4 each time we click on the button next or previous.So on load i want to show only 4 images and corresponding titles without downloading all remaining others.And on next click i need to load into the rotator the next 4 entities but without doing any post back without reloading the whole page. How can i do that?
<
table
><
tr
>
<
td
><
img
style
=
"position:static;"
id
=
"rrButtonLeftg1"
alt
=
""
onmouseover
=
"imgleftover('rrButtonLeftg1')"
onmouseout
=
"imgleftout('rrButtonLeftg1')"
src
=
"rotator/rotator_left_01.png"
/></
td
>
<
td
>
<
telerik:RadRotator
ID
=
"RadRotator1g"
runat
=
"server"
Height
=
"190px"
Width
=
"800px"
BackColor
=
"#526b75"
RotatorType
=
"ButtonsOver"
ItemHeight
=
"100px"
ItemWidth
=
"160px"
DataSourceID
=
"XmlDataSourceg1"
Skin
=
""
ScrollDuration
=
"350"
FrameDuration
=
"800"
>
<
ItemTemplate
>
<
div
class
=
"itemTemplate"
>
<
table
style='margin: 1px 1px 1px 1px; background-color: transparent; padding: 0;
border: none; cursor: pointer; width: 100%; -moz-border-radius: 1px; -webkit-border-radius: 1px;'>
<
tr
>
<
td
style
=
"width: 10%"
>
</
td
>
<
td
style
=
"width: 80%"
>
<
a
href='<%# XPath("link") %>' style="width: 100%" >
<
img
align
=
"center"
border
=
"0"
height
=
"130"
hspace
=
"0"
src='<%# XPath("src") %>'
width="90" />
</
a
>
</
td
>
<
td
style
=
"width: 10%"
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"width: 100%"
colspan
=
'3'
align
=
"center"
>
<
a
href='<%# XPath("link") %>' style='font-weight: bold; font-size: 8pt; color: #484849;'>
<%# XPath("title") %>
</
a
></
font
>
</
td
>
</
tr
>
</
table
>
</
div
>
</
ItemTemplate
>
<
ControlButtons
LeftButtonID
=
"rrButtonLeftg1"
RightButtonID
=
"rrButtonRightg1"
/>
</
telerik:RadRotator
></
td
>
<
td
><
img
style
=
"position:static;"
id
=
"rrButtonRightg1"
onmouseover
=
"imgrightover('rrButtonRightg1')"
onmouseout
=
"imgrightout('rrButtonRightg1')"
alt
=
""
src
=
"rotator/rotator_righ_01.png"
/></
td
>
</
tr
></
table
>
The rotator shows an image and title below it
The XML file contains 12 entities. I want to do display 4 each time we click on the button next or previous.So on load i want to show only 4 images and corresponding titles without downloading all remaining others.And on next click i need to load into the rotator the next 4 entities but without doing any post back without reloading the whole page. How can i do that?