This question is locked. New answers and comments are not allowed.
Hi,
i am coding in VB:NET. I need to load a Grid from SERVERBINDING. No strongly type view.
View (code)
Controller (code this works)
i am coding in VB:NET. I need to load a Grid from SERVERBINDING. No strongly type view.
View (code)
<%: Html.Telerik.Grid(Of TestModels.RequestQueue)("GridRequests").Name("GridRequests")%>
Controller (code this works)
Function RequestsByLogin() As ActionResult 'Initial load for Telerik Grid ViewData("GridRequests") = a4gContext.RequestQueue.ToList Return PartialView() End FunctionController (code does not work, Grid shows no Data, want to request only 4 columns)
Function RequestsByLogin() As ActionResult 'Initial load for Telerik Grid ViewData("GridRequests") = (From req In a4gContext.RequestQueue Where req.CreatedUser = User.Identity.Name Select req.RequestGuid, req.Status, req.CTI, req.CreatedDate).ToList Return PartialView() End Function
Whats the problem ?