GridView - FooterStyle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a gridview with both horizintal and vertical lines. I would like to
have the last row - footer - withoutt vertical lines so it will look line one
cell with the width of the table.

How could I do it?

Thanks,

Lubomir
 
If you want to have only one cell in the footer, set css rule colspan="your
number of columns" for the cell and hide all other cells with Visible=false.
You can do all this in RowDataBound event for the footer row.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
 
Thank you.

Lubomir


Eliyahu Goldin said:
If you want to have only one cell in the footer, set css rule colspan="your
number of columns" for the cell and hide all other cells with Visible=false.
You can do all this in RowDataBound event for the footer row.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


Lubomir said:
Hi,

I have a gridview with both horizintal and vertical lines. I would like to
have the last row - footer - withoutt vertical lines so it will look line
one
cell with the width of the table.

How could I do it?

Thanks,

Lubomir
 
Back
Top