This question is locked. New answers and comments are not allowed.
hi,
I need to load the grid without data until user press search
I use this grid
thanks
I need to load the grid without data until user press search
I use this grid
@(Html.Telerik().Grid<CRM_mvc.Model.Entities.ML_vw_lstContatti>() .Name("Grid") //.TableHtmlAttributes(new { style = "width:900px" }) .Scrollable(scrolling => scrolling.Enabled(true).Height(450)) .Resizable(resizing => resizing.Columns(true)) .Sortable() .Filterable() .Columns(columns => { columns.Command(commands => commands.Custom("edit") .Text("edt") .ImageHtmlAttributes(new { style = "text-align: center", @class = "t-icon t-edit" }) .ButtonType(GridButtonType.Image) .DataRouteValues(route => route.Add(o => o.id).RouteKey("id")) .Ajax(true) .Action("Edit", "ML")) .HtmlAttributes(new { style = "text-align: center", @class = "class='t-button t-button-icon t-grid-edit'" }) .Width(38); columns.AutoGenerate();
}) .Pageable(p => p.Position(GridPagerPosition.Both) .Style(GridPagerStyles.NextPreviousAndNumeric) .PageSize(20)) .DataBinding(dataBinding => dataBinding.Ajax().Select("LoadGridData", "ML") .OperationMode(GridOperationMode.Server)) .ClientEvents(events => events.OnDataBinding("Grid_onDataBinding") .OnCommand("Grid_onCommand")) .PrefixUrlParameters(false))thanks