This question is locked. New answers and comments are not allowed.
Hi
The view with my telerik content on is in the HomeController and on the Index View.
If I use .DataBinding(dataBinding => dataBinding.Ajax().Select("_FirstLook","Grid")) it returns nothing
How do I .Select from a different controller and action?
The view with my telerik content on is in the HomeController and on the Index View.
If I use .DataBinding(dataBinding => dataBinding.Ajax().Select("_FirstLook","Grid")) it returns nothing
How do I .Select from a different controller and action?
<%= Html.Telerik().Grid(Model) .Name("Grid") .Columns(columns => { columns.Bound(o => o.OrderID).Width(100); columns.Bound(o => o.ContactName).Width(200); columns.Bound(o => o.ShipAddress); columns.Bound(o => o.OrderDate).Format("{0:MM/dd/yyyy}").Width(120); } ) .DataBinding(dataBinding => dataBinding.Ajax().Select("_FirstLook","Grid")) .Pageable() .Sortable() .Scrollable() .Groupable() .Filterable() %>using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using Telerik.Web.Mvc;namespace Test{ public partial class GridController : Controller { [GridAction] public ActionResult _FirstLook() { return View(new GridModel(GetOrderDto())); } }}