I have the following rotator
I am not setting the datasourceid to be XmlDatasourceb1 because i want to set it from javascript function.I need the items to load on tabclick event.This rotator is inside a pageview of a tab.How can i do that?Is it possible to set datasourceid from javascript?
| <telerik:RadRotator ID="RadRotator1b" runat="server" Height="190px" width="880px" BackColor="#a6ce39" |
| RotatorType="ButtonsOver" ItemHeight="100px" ItemWidth="165px" Skin="" cssclass="RadRotator_rotatorSkin" 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") %>' target="_blank" style="width:100%"> |
| <img src='<%# XPath("src") %>' border='0' hspace='0' width='90' height='130' align='center'/> </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> |
| <tr><td style="width:100%; color:White; " colspan='3' align="center"> |
| <%#XPath("t")%> </asp:Label><a href='http://www.neelwafurat.com/locate.aspx?mode=1&search=author1&entry=<%# XPath("author") %>' style='font-size: 8pt; color: white;'><%#XPath("author")%> </a></font> |
| </td></tr> |
| </table> |
| </div> |
| </ItemTemplate> |
| </telerik:RadRotator> |
| <asp:XmlDataSource ID="XmlDataSourceb1" runat="server" XPath="books/book" DataFile="~/generated_files/bitems.xml" ></asp:XmlDataSource> |
I am not setting the datasourceid to be XmlDatasourceb1 because i want to set it from javascript function.I need the items to load on tabclick event.This rotator is inside a pageview of a tab.How can i do that?Is it possible to set datasourceid from javascript?
