This question is locked. New answers and comments are not allowed.
I have a telerik extension for ASP.Net MVC 3 grid when I try to sort the column it is sorting the data based on the ASCII value of the characters and not alphabetically
I am providing you my sample below
Can you help me in achieving the sort functionality
I am providing you my sample below
@{Html.Telerik().Grid(Model)<
br
> .Name("Grid")<
br
> .ToolBar(toolbar => toolbar.Custom().ButtonType(GridButtonType.Image).ImageHtmlAttributes(new { style = " background-image: url('../../Content/images/clear-filter.png') !important" }).HtmlAttributes(new { onclick = "clearFilters(event)", title = "Clear All Filters" }))<
br
> .DataKeys(keys => keys.Add(c => c.ID))<
br
> .Columns(columns =><
br
> {<
br
> columns.Bound(o => o.Name).Width(600); <
br
> })<
br
> .DataBinding(dataBinding => dataBinding.Ajax()<
br
> .OperationMode(GridOperationMode.Client)<
br
> .Select("_Method", "Controller"))<
br
> .Pageable(pager => pager.Style(GridPagerStyles.PageSizeDropDown | GridPagerStyles.NextPreviousAndInput))<
br
> .Filterable(filtering => filtering.Enabled(true))<
br
> .Resizable(resizing => resizing.Columns(true))<
br
> .ColumnContextMenu()<
br
> .Sortable(s => s.Enabled(true))<
br
> .Selectable()<
br
> .Render();<
br
> }
Can you help me in achieving the sort functionality