Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:750111
More Search Options
RSS Available
Matching Posts
Re: HOW TO: Using sorting / paging on GridView w/o a DataSourceControl DataSource
Hi Store your sort direction in a viewStateVariable. Save the last direction once you're completed sorting. I've used three states below: ASC, DESC, unsorted: (In "grdvwdesignmaster_Sorting" change "dataView.Sort = e.SortExpression + " " + ConvertSortDir(e.SortDirection); " to: if (GridViewSortDirection.Length > 0) { dataView.Sort = e.SortExpression + " " + GridViewSortDirection; } ChangeSortDirection(); ViewState property & function: private
Posted to
FAQ - Frequently Asked Questions
(Forum)
by
osmanmz
on 7/27/2007
Re: HOW TO: Using sorting / paging on GridView w/o a DataSourceControl DataSource
Thanks for the post its helped a great deal. How is it that your page does an auto postback on sorting or paging. I'm using the following code which is very similar, it does the sorting or paging only when I click a button on the page, not when I sort or page. i.e. it is a delayed reaction. I've also had to add the an invalid postback or call argument error with the suggestion of setting EnableEventValidation ="false" which resolves that issue: The only difference is that I've
Posted to
FAQ - Frequently Asked Questions
(Forum)
by
osmanmz
on 7/25/2007
Page 1 of 1 (2 items)
Channel 9:
Who, What, When, Where, Why and How of MIX10
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 2, Installation
Silverlight:
Contributing to the SL HVP
Silverlight:
Best SF Books of All Time
Channel 9:
Reactive Extensions API in depth: Repeat
Channel 9:
Jeffrey Van Gogh: Testing Rx with Pex
Channel 9:
The Visual Studio Documentary: Dan Fernandez Full Length Interview
ASP.NET:
Search Engine Optimization (SEO) Toolkit
Channel 10:
This Is Your Data on Silverlight
ASP.NET:
How the IIS SEO Toolkit Saved My Butt
TechNet Edge:
Windows 7 XP Mode User Experience
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online