By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,786 Members | 1,131 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,786 IT Pros & Developers. It's quick & easy.

show header when gridview is empty

P: n/a
is there a way to show the header even when GridView is empty? the page looks
kind of bare with just empydatatext or emptyrowtemplate.

Thanks.
Mar 30 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Someones done all the work for you.............

http://blogs.claritycon.com/blogs/ke...02/28/247.aspx

--
Regards

John Timney
Microsoft MVP

"Dabbler" <Da*****@discussions.microsoft.com> wrote in message
news:A2**********************************@microsof t.com...
is there a way to show the header even when GridView is empty? the page
looks
kind of bare with just empydatatext or emptyrowtemplate.

Thanks.

Mar 30 '06 #2

P: n/a
Wow, life is good!

Thanks much.

"John Timney ( MVP )" wrote:
Someones done all the work for you.............

http://blogs.claritycon.com/blogs/ke...02/28/247.aspx

--
Regards

John Timney
Microsoft MVP

"Dabbler" <Da*****@discussions.microsoft.com> wrote in message
news:A2**********************************@microsof t.com...
is there a way to show the header even when GridView is empty? the page
looks
kind of bare with just empydatatext or emptyrowtemplate.

Thanks.


Mar 30 '06 #3

P: n/a
John,
that link was very helpful.

As a related issue, I'd like to add a final row at the end of the GridView,
after the footer, pager, and all other rows. I'd like to have something
similar to the bottom status bar on IE or Win Explorer.

Using the Footer template for this is not an option since I will get a row
with a cell for each column on the grid. And I'd like to have something more
customizable.

Ideally it would be Templated Row but on a first try I'd go with a one-cell
only row.

The problem I have is how to get a reference to the current table of rows so
I can add another row at the end.

Thanks,
Vicenç

"John Timney ( MVP )" wrote:
Someones done all the work for you.............

http://blogs.claritycon.com/blogs/ke...02/28/247.aspx

--
Regards

John Timney
Microsoft MVP

"Dabbler" <Da*****@discussions.microsoft.comwrote in message
news:A2**********************************@microsof t.com...
is there a way to show the header even when GridView is empty? the page
looks
kind of bare with just empydatatext or emptyrowtemplate.

Thanks.


Aug 1 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.