all groups > asp.net datagrid control > october 2003 >
You're in the

asp.net datagrid control

group:

AllowPaging and AutoGenerateColumns = false


AllowPaging and AutoGenerateColumns = false coyotes1 NO[at]SPAM yahoo.com
10/31/2003 12:17:53 PM
asp.net datagrid control:
I have read that in order for paging to work, on a dg that you
dynamically create the columns, you must create your columns in
Page_Init. If this is true, how am I to create the columns in the
Page_Init if the dg does not get created until a button is clicked?

Please help.

This has been driving me crazy for weeks. I have 2 apps that I need to
Re: AllowPaging and AutoGenerateColumns = false Giorgio Parmeggiani
10/31/2003 11:19:23 PM
Hi

[quoted text, click to view]

I dont understand, if you click a button it happens a postback, then happen
tha Page_init event, then you can create dinacally your column!

Hi
Giorgio

AddThis Social Bookmark Button