hi
My index.aspx like this
<%= Html.Telerik().Grid(Model.GetCon().Tables[0].DefaultView)
.Name("OrdersGrid")
.Columns(columns =>
{
columns.Bound(Model.GetCon().Tables[0].DefaultView[0][1].ToString());
})
.Pageable()
.Sortable()
%>
this asking object reference like this
my server side code like this
public ActionResult Index()
{
DataSet ds = GetCon();
ViewData["Customers"] = ds.Tables[0];
return View();
}
how to bind Telerik grid server side and client side using mvc for this
i put
<%= Html.Telerik().Grid(Model)
but error come.
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com