List Info

Thread: Paging a Gridview




Paging a Gridview
country flaguser name
United States
2007-03-22 16:55:39
Hi folks, I have a "hardcoded" Griedview control,
(I didn't use the gridview
wizard). I want to use the paging feature in the control. I
added the
AllowPaging="True" property in the asp:GridView
tag, but when I try to run
the page and use the paging, I receive the following error:
The GridView 'grdlist2' fired event PageIndexChanging which
wasn't handled

What should I add to the control?
Thanks in advance

___________________________________
Claudio M. E. Bastos Iorio
http://www.13bit.com.ar
<http://www.13bit.com.ar/
> 
MSN:selecters75hotmail.com





--- List Settings ---
http://aspadvice.com/list
s/


RE: Paging a Gridview
country flaguser name
United States
2007-03-22 17:31:42
The event itself, see:
http://msdn2.microsoft.com/en-us/lib
rary/system.web.ui.webcontrols.gridview.
pageindexchanging.aspx


-----Original Message-----
From: Claudio M. E. Bastos Iorio [mailto:13bitarnet.com.ar] 
Sent: Thursday, March 22, 2007 4:56 PM
To: aspnetaspadvice.com
Subject: [aspnet] Paging a Gridview

Hi folks, I have a "hardcoded" Griedview control,
(I didn't use the gridview
wizard). I want to use the paging feature in the control. I
added the
AllowPaging="True" property in the asp:GridView
tag, but when I try to run
the page and use the paging, I receive the following error:
The GridView 'grdlist2' fired event PageIndexChanging which
wasn't handled

What should I add to the control?
Thanks in advance

___________________________________
Claudio M. E. Bastos Iorio
http://www.13bit.com.ar
<http://www.13bit.com.ar/
> 
MSN:selecters75hotmail.com





--- List Settings ---
http://aspadvice.com/list
s/


--- List Settings ---
http://aspadvice.com/list
s/


RE: Paging a Gridview
country flaguser name
United States
2007-03-22 17:46:49
Handle the event in code. Add your custom paging logic
there.

--
-Christopher
| AspInsider
http://chrisfrazier.net/
blog

(__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world
domination.


-----Original Message-----
From: Claudio M. E. Bastos Iorio [mailto:13bitarnet.com.ar] 
Sent: Thursday, March 22, 2007 4:56 PM
To: aspnetaspadvice.com
Subject: [aspnet] Paging a Gridview

Hi folks, I have a "hardcoded" Griedview control,
(I didn't use the gridview
wizard). I want to use the paging feature in the control. I
added the
AllowPaging="True" property in the asp:GridView
tag, but when I try to run
the page and use the paging, I receive the following error:
The GridView 'grdlist2' fired event PageIndexChanging which
wasn't handled

What should I add to the control?
Thanks in advance

___________________________________
Claudio M. E. Bastos Iorio
http://www.13bit.com.ar
<http://www.13bit.com.ar/
> 
MSN:selecters75hotmail.com





--- List Settings ---
http://aspadvice.com/list
s/


--- List Settings ---
http://aspadvice.com/list
s/


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )