This question is locked. New answers and comments are not allowed.
Hi
I have bind my grid with following code.
<% Html.Telerik().Grid<ADLWare.Model.Comapny.Clients.Client>(Model)
.Name("ClientDetail")
.Columns(columns =>
{
columns.Bound(o => o.ClientName).Format(Html.ActionLink("{0}", "GetData", "ClientDetail", new { id = "{0}" }).ToString()).Encoded(false);
columns.Bound(o => o.ClientAddress).Width(200);
columns.Bound(o => o.ClientCity).Width(200);
columns.Bound(o => o.ClientState).Width(100);
})
.DataBinding(dataBinding => dataBinding.Ajax().Select("GetClientVal", "ClientDetail"))
.EnableCustomBinding(false)
.Sortable(sorting => sorting.Enabled(true))
.Pageable(paging => paging.Enabled(true).PageSize(10).Style(GridPagerStyles.Numeric))
.Filterable(filter => filter.Enabled(true))
.Render();
%>
But when any event fire first time then all page pastback with URl "http://localhost:57400/Home/ListPage?ClientDetail-page=2" after that all request goes partial. Why first time whole page postback.
Please help.
I have bind my grid with following code.
<% Html.Telerik().Grid<ADLWare.Model.Comapny.Clients.Client>(Model)
.Name("ClientDetail")
.Columns(columns =>
{
columns.Bound(o => o.ClientName).Format(Html.ActionLink("{0}", "GetData", "ClientDetail", new { id = "{0}" }).ToString()).Encoded(false);
columns.Bound(o => o.ClientAddress).Width(200);
columns.Bound(o => o.ClientCity).Width(200);
columns.Bound(o => o.ClientState).Width(100);
})
.DataBinding(dataBinding => dataBinding.Ajax().Select("GetClientVal", "ClientDetail"))
.EnableCustomBinding(false)
.Sortable(sorting => sorting.Enabled(true))
.Pageable(paging => paging.Enabled(true).PageSize(10).Style(GridPagerStyles.Numeric))
.Filterable(filter => filter.Enabled(true))
.Render();
%>
But when any event fire first time then all page pastback with URl "http://localhost:57400/Home/ListPage?ClientDetail-page=2" after that all request goes partial. Why first time whole page postback.
Please help.