This question is locked. New answers and comments are not allowed.
Hello!
I use this:
This returns the following javascript:
As you can see, the ajax url is a null?
Everything else works, the columns are created like they should.
I use this:
@using ManageMvc.Areas.Community.Models@using Telerik.Web.Mvc.UI@model CommunityHelpdeskListViewPage@{ ViewBag.Title = "Community Helpdesk"; Layout = "~/Views/Shared/TabsLayout.cshtml";}List with users:<br/>@(Html.Telerik().Grid(Model.CommunityUserList) .Name("OrdersGrid") .Columns(columns => { columns.AutoGenerate(true); //columns.Bound(o => o.CountryName); //columns.Bound(o => o.Id); }) .DataBinding(dataBinding => dataBinding.Ajax().Select("GetUserList", "Helpdesk", new { Search = Model.SearchString, Area = "Community" })) .EnableCustomBinding(true) .Pageable(paging => paging.PageSize(10)) .Filterable() .Sortable())This returns the following javascript:
<script type="text/javascript">//<![CDATA[jQuery(document).ready(function(){jQuery('#OrdersGrid').tGrid({columns:[{"title":"Firstname","member":"Firstname","type":"String"},{"title":"Surname","member":"Surname","type":"String"},{"title":"Country","member":"CountryName","type":"String"}], plugins:["filtering"], total:0, currentPage:1, pageSizesInDropDown:["5","10","20","50"], sortMode:'single', ajax:{"selectUrl":null}, noRecordsTemplate:'No records to display.'});});//]]></script>As you can see, the ajax url is a null?
Everything else works, the columns are created like they should.