Showing footer in an empty GridView...

S

Stu Lock

Hi,

I've spent the last hour trawling google for this - but all I find are
people asking the same question!

I have a gridview which is being databound to an empty datasource. I can
display the 'EmptyDataText' no problem, but the header and footer do not
display. The header I can live without - but the footer contains the 'Add
new item' form elements, so needs to be visible when the grid is empty.

Is there any (elegant) way to show the header/footer of an empty gridview?

Thanks in advance,

Stu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top