This question is locked. New answers and comments are not allowed.
Hi,
I want client template feature with ajax postback. So i am using as follows.
My View is a strongly typed view
In the controller GetOrderList will return IEnumerable<Astroved.Web.Shared.Models.Admin.Order>
The items NOT GET BINDED TO THE GRID.
items only get binded when i use as follows
I can't use this since i have to use client template in that. i am advised to use like Grid<T>.
I have used the same procedure for Grid<T> for this and worked out well(Its also a strongly typed view and tried as same as here). I am not sure what i am wrong with.
Thanks In Advance,
Pradeep.
I want client template feature with ajax postback. So i am using as follows.
| <%= Html.Telerik().Grid<Order>() |
| .Name( "OrdersGrid" ) |
| .Columns(colums => colums.Bound(o => o.TransactionNumber)) |
| .Scrollable( scrolling => scrolling.Height( 600 ) ) |
| .Sortable() |
| .Pageable(page => page.PageSize(13)) |
| .Filterable() |
| .Groupable() |
| %> |
My View is a strongly typed view
| <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Astroved.Web.Shared.Models.Admin.Order>>" %> |
In the controller GetOrderList will return IEnumerable<Astroved.Web.Shared.Models.Admin.Order>
| public virtual ActionResult Index() |
| { |
| return View(GetOrdersList()); |
| } |
The items NOT GET BINDED TO THE GRID.
items only get binded when i use as follows
| <%= Html.Telerik().Grid(Model) |
| .Name( "OrdersGrid" ) |
| .Columns(colums => colums.Bound(o => o.TransactionNumber)) |
| .Scrollable( scrolling => scrolling.Height( 600 ) ) |
| .Sortable() |
| .Pageable(page => page.PageSize(13)) |
| .Filterable() |
| .Groupable() |
| %> |
I can't use this since i have to use client template in that. i am advised to use like Grid<T>.
I have used the same procedure for Grid<T> for this and worked out well(Its also a strongly typed view and tried as same as here). I am not sure what i am wrong with.
Thanks In Advance,
Pradeep.