Re: Data grid pageing with EnableViewState = False turned on

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Scott Allen (bitmask_at_[nospam)
Date: 07/15/04


Date: Wed, 14 Jul 2004 20:32:59 -0400

There are a couple other steps to take.

See the subsection "Enduring an Over-sized ViewState" in the following
article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnet-commondatagridmistakes.asp

HTH,

--
Scott
http://www.OdeToCode.com
On Wed, 14 Jul 2004 18:29:32 -0400, "Brian Henry"
<brianiupmsdn@newsgroups.nospam> wrote:
>hi, i already am data binding at page load and when the even happens, but
>stil lthe Page Index Change event never fires when the currentpageindex is
>changed
>
>
>
>"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
>news:%23GWohDeaEHA.2544@TK2MSFTNGP10.phx.gbl...
>> Brian Henry wrote:
>>
>> > Hi,
>> >
>> > I want EnableViewState = false turned on to optimize the end output page
>(it
>> > was over 600KB with it on) but when i turn it off, our pageing
>functionality
>> > no longer works mainly the
>> > PageIndexChanged event no longer fires, how do you handle this with
>enable
>> > view state as false? thanks!
>> >
>> >
>>
>> http://weblogs.asp.net/datagridgirl/archive/2004/03/19/92716.aspx
>>
>> -- 
>> Craig Deelsnyder
>> Microsoft MVP - ASP/ASP.NET
>


Relevant Pages