This is a migrated thread and some comments may be shown as answers.

[Solved] Sorting feature on grid

0 Answers 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Viola
Top achievements
Rank 1
Viola asked on 17 Dec 2012, 12:19 AM
Sorting features on grid had bug on old version. Descending->Ascending->Defualt->Descending->Ascending->Defualt, but what I want is Descending->Ascending->Descending->Ascending. What version of Telerik.Web.Mvc.dll that can get rid of Default by adding the following code?
.Sortable(s => s.SortMode(GridSortMode.MultipleColumn).AllowUnsort(true))

Tried version 2011.3.1115.340.
Got errors: CS1061: 'Telerik.Web.Mvc.UI.Fluent.GridSortSettingsBuilder<LumoComplaint.Models.ComplaintDto>' does not contain a definition for 'AllowUnsort' and no extension method 'AllowUnsort' accepting a first argument of type 'Telerik.Web.Mvc.UI.Fluent.GridSortSettingsBuilder<LumoComplaint.Models.ComplaintDto>' could be found (are you missing a using directive or an assembly reference?)

Then tried 2012.2.615.340. Seems like this one is hot fix.
Got errors: CS1061: 'Telerik.Web.Mvc.UI.Fluent.DatePickerBuilder' does not contain a definition for 'MinDate' and no extension method 'MinDate' accepting a first argument of type 'Telerik.Web.Mvc.UI.Fluent.DatePickerBuilder' could be found (are you missing a using directive or an assembly reference?) .MinDate(Model.NextBusinessDayFromToday)


Can you guys please help? Thank you very much.
Tags
Grid
Asked by
Viola
Top achievements
Rank 1
Share this question
or