This question is locked. New answers and comments are not allowed.
Hi Guys, I have a small problem which I hope you can be of assistance with. I have a partial view to which I want to pass the name of an EntityFramework Object, to which the Grid will bind.
Can you please tell me what in your oppinion the best practice is to pass the Entity Object Name to ..
As ever, thank You for your help.
Les
<fieldset> <!-- Telerik Grid Control --> <legend>Classifications</legend> @(Html.Telerik() //Bind Grid to Type 'ClassificationViewModel' .Grid<"Entity Name">() .Name(TempData["Name"]) //.PrefixUrlParameters(false) .Pageable(pager => pager.PageTo(1).Position(GridPagerPosition.Bottom)) //{ Note: paging => // paging.Enabled(true); // paging.PageSize(50); //} //org .DataKeys(keys => keys.Add(dataKeys => dataKeys.ClassificationID)) .DataKeys(keys => keys.Add(dataKeys => dataKeys.ID)) .ToolBar(ToolBarCommand => ToolBarCommand //.Custom().Text("Edit").Action("AjaxIndex","Classification") Can you please tell me what in your oppinion the best practice is to pass the Entity Object Name to ..
Grid<".....">()As ever, thank You for your help.
Les