Find all needed information about Data Source Does Not Support Sorting. Below you can see links where you can find everything you want to know about Data Source Does Not Support Sorting.
https://stackoverflow.com/questions/17595525/the-data-source-does-not-support-sorting
If you use a SqlDataSource and connect the gridview to the data source with a datasourceid, then sorting is done for you magically. You don't have to do anything to support it. But if set the datasource to some object that you have created in code, sorting does NOT magically happen for you.
https://forums.asp.net/t/993115.aspx?GridView+The+data+source+does+not+support+sorting
Jul 07, 2009 · But when I run another search and hit the search button (which just refreshes the datasource of the gridview to the results) then I get the error: The data source does not support sorting. Also: In the gridview sorting event I have it reassign the select statement to the sqldata source and rebind the gridview.
https://atominnovation.blogspot.com/2010/08/aspnet-error-datasource-does-not.html
"System.NotSupportedException: The data source does not support sorting" I tried a few things and considered creating an ObjectDataSource in code with the search results and then binding the GridView to that, but the answer turned out to be simple.
http://codeverge.com/asp.net.presentation-controls/gridview-the-data-source-does-n/462337
May 23, 2006 · GridView: The data source does not support sorting I have a gridview that has sorting and paging set to true. The gridview gets filled from search results, and the first time I view the results in the gridview I can sort as many times as I want with no problem.
https://stackoverflow.com/questions/1661292/the-data-source-does-not-support-server-side-data-paging
The data source does not support server-side data paging. What am I doing wrong? ... Data Source is not supported server side pagination. 0. ... The data source does not support server-side data paging when sorting. 1. The data source does not support server-side data paging.why? 0.
https://www.c-sharpcorner.com/UploadFile/9b86d4/solution-the-data-source-does-not-support-server-side-data/
In technical words from StackOverflow, “You can't use an IQueryable object to data bound to a GridView and still use Paging and Sorting. You must return a List to the GridView using the ToList() method.”
https://forums.asp.net/t/1649054.aspx?The+data+source+does+not+support+sorting+
Feb 08, 2011 · The data source does not support sorting. Feb 02, 2011 12:21 PM nisarkhan LINK below is my code using for simple gridview and i am only having problem with the sorting and paging is working as expected and i even define the ONSorting event but it still throws me an error: The data source does not support sorting.
Need to find Data Source Does Not Support Sorting information?
To find needed information please read the text beloow. If you need to know more you can click on the links to visit sites with more detailed data.