Asp.Net GridView PSP colspan?

I have a GridView with some data and a pager, so I don't need to display all the data in one page.

But if I look at the HTML, then the GridView generates a pager column, has a colspan of 66? This will mess up the layout in Chrome and Safari.

Why is it setting colspan to 66 when there are only 5 decks with data?

Edit: I found the problem! I am hiding some columns and those that count, so why.

0


source to share


1 answer


remember that you can always render your markup as pure CSS using CSS Friendly Control Adapters .



You can see an example with GridView here

+1


source







All Articles