Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > show header when gridview is empty

Reply
Thread Tools

show header when gridview is empty

 
 
=?Utf-8?B?RGFiYmxlcg==?=
Guest
Posts: n/a
 
      03-30-2006
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.
 
Reply With Quote
 
 
 
 
John Timney \( MVP \)
Guest
Posts: n/a
 
      03-30-2006
Someones done all the work for you.............

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

--
Regards

John Timney
Microsoft MVP

"Dabbler" <> wrote in message
news:A2571CBB-06EA-4378-84D1-...
> 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.



 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGFiYmxlcg==?=
Guest
Posts: n/a
 
      03-30-2006
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" <> wrote in message
> news:A2571CBB-06EA-4378-84D1-...
> > 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.

>
>
>

 
Reply With Quote
 
=?Utf-8?B?VmljZW7DpyBNYXNhbmFz?=
Guest
Posts: n/a
 
      08-01-2006
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" <> wrote in message
> news:A2571CBB-06EA-4378-84D1-...
> > 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.

>
>
>

 
Reply With Quote
 
thienle282 thienle282 is offline
Junior Member
Join Date: Jan 2012
Posts: 1
 
      01-13-2012
Quote:
Originally Posted by =?Utf-8?B?VmljZW7DpyBNYXNhbmFz?= View Post
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" <> wrote in message
> news:A2571CBB-06EA-4378-84D1-...
> > 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.
>
>
>
I have the solution for you. The following post can help you
http://programmingshare-thienle.blog...view-with.html
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
Empty gridview cells and checking for empty string Savvoulidis Iordanis ASP .Net 1 09-05-2008 06:15 AM
How to show GridView bound to empty data source? (2.0) Tomasz Jastrzebski ASP .Net 13 01-19-2007 06:56 PM
how to show empty gridview foo ASP .Net 2 10-26-2006 01:48 PM
Only show hyperlink text in asp.net 2 gridview if database column is not empty Bren ASP .Net 3 08-23-2006 08:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57