how to Add this Telerik Controls for this

Posted by Jayakumars under ASP.NET on 4/13/2012 | Points: 10 | Views : 1279 | Status : [Member] [MVP] | Replies : 2
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



Responses

Posted by: Vuyiswamb on: 4/13/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Look at this

http://demos.telerik.com/aspnet-mvc/grid/ajaxbinding

Thank you for posting at Dotnetfunda
[Administrator]

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 4/13/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

i try this url but this is elobarate how will do this step by step any one post this

Mark as Answer if its helpful to you

Kumaraspcode2009@gmail.com

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response