Home All Groups Group Topic Archive Search About

Solution for GridView Pager Style Problem

Author
17 Jan 2007 8:17 PM
Harry Keck
I have a 1.1 web application that I converted to a 2.0 web application.  I
added a GridView to one of the forms, but no matter what I tried, I could not
control the font size of the pager.  My old aspx files had

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

I found that aspx files created in VS 2005 have

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Simply changing this gave me back control over the font size of the GridView
pager.  I saw this question posted numerous times on the internet with no
solution.  Please spread this information to anyone who may need it, because
I know it was driving me crazy for a long time.