Hello,
Paging of GridView will be rendered to several link elements as below.
<td><span>1</span></td>
<td><a href="javascript:__doPostBack('GridView1','Page$2')">2</a></td>
<td><a href="javascript:__doPostBack('GridView1','Page$3')">3</a></td>
In this sample, there are three pages in GridView. Page 1 is the current
page, and it is just a span element after rendering. Page 2 and Page 3 are
link elements which allow doing postback to the server-side. So they're
underlined.
In your scenario, the current page is also underlined. I guess it is not
just a span rendered. Please check the source code in Browser. What does it
look like?
Thus if you can post your code or send the demo to me, it will be better.
Sincerely,
Vince Xu
Microsoft Online Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
MSDN Managed Newsgroup support offering is for non-urgent issues where an
initial response from the community or a Microsoft Support Engineer within
2 business day is acceptable. Please note that each follow up response may
take approximately 2 business days as the support professional working with
you may need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations that require urgent,
real-time or phone-based interactions. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================