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: Brian Henry (brianiupmsdn_at_newsgroups.nospam)
Date: 07/14/04


Date: Wed, 14 Jul 2004 16:53:55 -0400

but, as i said the problem is that the page index changed even is never
fired...

"Tampa .NET Koder" <TampaNETKoder@discussions.microsoft.com> wrote in
message news:54A8F90E-9A46-41F8-9FC6-CE66D1C5F4D0@microsoft.com...
> I think you have to rebind the datagrid after each PageIndexChanged event
is fired
>
> datagrid1.databind()
>
>
>
> "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!
> >
> >
> >



Relevant Pages

  • RE: Data grid pageing with EnableViewState = False turned on
    ... I think you have to rebind the datagrid after each PageIndexChanged event is fired ... > PageIndexChanged event no longer fires, how do you handle this with enable ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DataGris Paging not working (event not firing)
    ... > PageIndexChanged event doesn't ever fire. ... > to the next datagrid page, ... and double click the event to load it into the code. ... which calls the DataSource Refresh method and then ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: DataGris Paging not working (event not firing)
    ... PageIndexChanged event doesn't ever fire. ... to the next datagrid page, ... and double click the event to load it into the code. ... >> When the program first starts, its creates an instance of the DataSource ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • RE: DataGrid doesnt fire PageIndexChanged
    ... i try what you said and it still doens't fire PageIndexChanged on the second ... i've an ASP.NET app that uses a datagrid control to show a database table. ... the first time i load my web page and change my page index to page 2 it all ... firing the proper PageIndexChanged event and rebind the datagrid ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Hyperlinks on a DataGrid
    ... > the datagrid to the dataset and you will be setting on page one. ... > in the pageIndexChanged event. ... >> DATE NAME MSG HYPERLINK ... >> private void DataGrid1_PageIndexChanged( ...
    (microsoft.public.dotnet.languages.csharp)