This question is locked. New answers and comments are not allowed.
I understand that the dropdown for true/false/not set is the default template for a nullable boolean value (as discussed here: http://www.telerik.com/community/forums/aspnet-mvc/grid/boolean-appears-as-dropdown-in-grid.aspx ) in the grid. however, i'm using pagination on this grid, and at first they appear with the dropdown, but on subsequent pages/httpposts they just say "true" and "false" with no dropdown.
The following is my code (the javascript at the bottom is to handle another lookup on the page - this grid is looking up vendors by facility).
The following is my code (the javascript at the bottom is to handle another lookup on the page - this grid is looking up vendors by facility).
<% Html.Telerik().Grid(Model.LookupItems) .Name("VendorLookup") .ToolBar(toolBar => { toolBar.Template(() => { %> Facility ID: <%=Html.TextBoxFor(model => model.FacilityID) %> <input type="button" onclick="rebind()" value="Submit" /> <% }); }) .Columns(columns => { columns.Bound(o => o.BaswareSupplierID); columns.Bound(o => o.SupplierName); columns.Bound(o => o.AccountNumber); columns.Bound(o => o.DepartmentNumber); columns.Bound(o => o.PurchaseOrderRequired); }) .DataBinding(dataBinding => { dataBinding.Ajax().Select("GetData", "VendorLookup"); }) .ClientEvents(events => events.OnDataBinding("onload")) .Scrollable(scrolling => scrolling.Enabled(false)) .Sortable(sorting => sorting.Enabled(true)) .Pageable(paging => paging.Enabled(true)) .Filterable(filtering => filtering.Enabled(true)) .Footer(true).Render(); %> <script type="text/javascript" language="javascript"> function rebind() { var facilityID = $("#FacilityID").val(); $("#VendorLookup").data("tGrid").rebind({ FacilityID: facilityID }); } function onload(args) { var facilityID = $("#FacilityID").val(); args.data = $.extend(args.data, {FacilityID: facilityID}); } </script>