Dear Telerik,
Can you please help me, I would like to bind repeater with the web service data.
I have Webservice called "WeBarterAus" in my WebReferences Folder
I have the function below done, but someting has missing and I couldn't figure out what it is.
So it not showing up the repeater at all.
I hope anyone can help me with this.
Thank you
Can you please help me, I would like to bind repeater with the web service data.
I have Webservice called "WeBarterAus" in my WebReferences Folder
I have the function below done, but someting has missing and I couldn't figure out what it is.
So it not showing up the repeater at all.
<asp:Repeater ID="repTransHistory" runat="server" onitemdatabound="repTransHistory_ItemDataBound" > <HeaderTemplate> <table style="border-width: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #d5d5d5; padding: 0px; margin: 0px; border-spacing: 0px; width: 100%;"> <tr> <td><b>Date</b></td> <td><b>Description</b></td> <td><b>Sale Amount<b></td> <td><b>Bonus Points<b></td> <td><b>Points Redeemed<b></td> </tr> </HeaderTemplate> <ItemTemplate> <tr style="background-color: #FFFFFF"> <td><b></b> </td> <td></td> <td></td> <td><b></b></td> <td><b></b></td> </tr> <tr><td colspan="5"></td></tr> </ItemTemplate> <FooterTemplate><tr><td colspan="5" style="font-weight: bold; text-decoration: underline; font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #FF0000;"> <table width="100%"><tr><td>Total Results:</td><td align="right">Last Updated: <asp:Label ID="lblLastUpdated" runat="server" Text=""></asp:Label></td></tr></table> </td></tr></table></FooterTemplate> </asp:Repeater>private void ShowResultInRepeater() { string xmlReader = ""; DataSet ds = new DataSet(); WebbarterAUS.AUS MemberRewardHistory = new WebbarterAUS.AUS(); xmlReader = MemberRewardHistory.RewardTransactionHistory("6220430100317744"); //ds.WriteXml(xmlReader); repTransHistory.DataSource = xmlReader; repTransHistory.DataBind(); }I hope anyone can help me with this.
Thank you