Archive

Posts Tagged ‘ViewState’

SPGridView and losing Filtering on Sorting

Ok, seems like I found out where things go wrong about losing filtering when sorting…
I’ve disabled the ViewState for the SPGridView, because when a user refreshes his browser after working with things for a while and just returned from a detailsview of entered the detailsview from the gridview, the error “Failed to load ViewState” appears.
This can be solved by disabling the viewstate for the gridview and/or detailsview (depending on what you want to prevent).
So now I have to find a way to handle this nicely…

Oh, by the way… when I get things sorted out, somewhat, I will post a VS2008 solution with database, so you can see the ‘final thing’…

Categories: SharePoint Tags: , , ,
Follow

Get every new post delivered to your Inbox.