How can i use ItemTemplate with Client-Side RadGrid data binding ?
i use a web method to bind data on client side..
here is my sample:
it hasn't worked out...
i tried the sample on the below link:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/listview/defaultcs.aspx
i use a web method to bind data on client side..
here is my sample:
it hasn't worked out...
<telerik:RadGrid ID="IndividualHistoryGrid" AllowFilteringByColumn="true" |
runat="server" GridLines="None" AllowPaging="true" |
AllowSorting="true" OnPreRender="IndividualHistoryGrid_PreRender" |
PageSize="6"> |
<PagerStyle Mode="NextPrevAndNumeric" /> |
<MasterTableView TableLayout="Fixed" DataKeyNames="IndividualCode" ClientDataKeyNames="IndividualCode"> |
<ItemTemplate> |
<asp:Panel ID="ItemContainer" runat="server"> |
<b>Name:</b> |
<%# Eval("Name")%> |
</asp:Panel> |
</ItemTemplate> |
</MasterTableView> |
<GroupingSettings CaseSensitive="false" /> |
<ClientSettings> |
<DataBinding SelectMethod="GetDataAndCount" Location="IndividualGetHistoryMethod.aspx" |
SortParameterType="Linq" FilterParameterType="Linq"> |
</DataBinding> |
<ClientEvents OnDataBinding="onDataBinding"></ClientEvents> |
</ClientSettings> |
</telerik:RadGrid> |
i tried the sample on the below link:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/listview/defaultcs.aspx