Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
cindy #1
page view state for sort expression datagrid
using the ASP.NET datagrid control to
displaying some data from SQLserver, also provide paging and sorting
function for the datagrid. However, after sorting
a certain bouldcolumn, if change the page index , the new paged data is
not sorted? How do I store a variable in
Page's ViewState to identify the last sort expression and whenever need
to rebind the datagrid, can sort the datasource through the sort
expression stored previously?
--
cindy
cindy Guest
-
View state help
Do you modify the page at all? Sometimes modifying the page causes the error you described. Alternatively, you do not have to use ViewState in... -
Maintaining view state in datagrid
hi all, I have a datagrid in my asp.net page. In that datagrid, i have paging enabled. And one template column having checkbox control in... -
DataGrid does not keep sort when I move to another page
I'm somewhat a Newbie, so it took me while to figure the ViewState out, but once I did it worked perfectly. "Scott M." <s-mar@nospam.nospam>... -
ItemCommand not working when datagrid can page and sort
Where is Microsoft? Can anyone answer this question? This is a big problem. -
The View State Is Invalid for This Page and Might Be Corrupted
Can anyone provide some help on this issue? Our code works fine on a single machine but in a web farm environment we get the following error. ... -
Steven Cheng[MSFT] #2
RE: page view state for sort expression datagrid
Hi Cindy,
Thanks for your posting. As for this problem I've posted my repsonse in
your former thread below:
Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls
Subject: Datagrid paging I lose my sort
I'd appreciate if you have a look there. Also,if you feel it convenient, we
can continue to discuss there.
Thank you!
Steven Cheng
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: page view state for sort expression datagrid
| thread-index: AcXki7spv5IZok2RRLG5ePNtt66TKQ==
| X-WBNR-Posting-Host: 71.136.160.120
| From: "=?Utf-8?B?Y2luZHk=?=" <cmello@nospam.nospam>
| Subject: page view state for sort expression datagrid
| Date: Tue, 8 Nov 2005 09:42:04 -0800
| Lines: 10
| Message-ID: <4AF25608-D492-4179-8C01-302EB3150552@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.datagridc ontrol:5982
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.datagridc ontrol
|
| using the ASP.NET datagrid control to
| displaying some data from SQLserver, also provide paging and sorting
| function for the datagrid. However, after sorting
| a certain bouldcolumn, if change the page index , the new paged data is
| not sorted? How do I store a variable in
| Page's ViewState to identify the last sort expression and whenever need
| to rebind the datagrid, can sort the datasource through the sort
| expression stored previously?
| --
| cindy
|
Steven Cheng[MSFT] Guest



Reply With Quote

