GridView - FooterStyle

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
 
E

Eliyahu Goldin

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
 
G

Guest

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
 

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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top