[RESOLVED] Gridview - always show whole page
Is there a way where I can set the GridView to always show the total page even when there are not enough records to fill the page? Example, my page size is 12 and if my binding results in 8 rows I want the GridView to be displayed with 12 rows (4 blank rows).
Re: Gridview - always show whole page
Hey,
Ok, I have to ask, why do you have this requirement? Does your GridView have an edit view that you are trying to enable?
Normally, what you do would be to provide additional controls on your page, i.e. textbox input fields, that the user fills out, and then submits (via a button click) which causes new rows to be added.
I guess it really comes down to how you are retrieving your data from the database. Can you provide some more information?
Gary
Re: Gridview - always show whole page
This is just for cosmetic purpose. I was able to add blanks rows at the end filling up the page by calculating rows from data base + blank rows = page size. I am all set. Thank you.