Telerik Rad Grid Sorting Not Working for Numeric String and Date String Columns
As i have posted my last blog post for sorting Telerik Rad Grid Sorting . That was a normal sorting but if you want to sort numeric string column or date string column in that case you would not get desired result. For example: Values are 5, 31, 22, 41, 76, 8, 6 When we click on column header for sorting then sorted values are 22, 31, 41, 5, 6, 76, 8 But expected result is 5, 6, 8, 22, 31, 41, 76 So for take over this problem follow below example : For example we will add a numeric string column and a date string column to my last blog post Telerik Rad Grid Sorting . .aspx Code : <telerik:GridBoundColumn DataField="Date" HeaderText="Date" DataType="System.DateTime" SortExpression="Date"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Number" HeaderText="Number" DataType="System.Int32" SortExpression="Number"></telerik:GridBoundColumn> Also when you...