Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
| Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 21st, 2008, 02:49 AM
Registered User
 
Join Date: Feb 2008
Location: cochin, kerala, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default To remove the under line from the grid view header

I
How to remove the underline from the bounded gridview header,with sorting allowed?


Thanks
shalu
  #2 (permalink)  
Old February 21st, 2008, 07:31 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Simply use CSS to define the style:

th a { text-decoration: none; }

or create a class and set the HeaderStyle.CssClass to it if you don't want all header cell text decorations to be like that.

/- Sam Judson : Wrox Technical Editor -/


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Grid View Drop Down List, view all jskinner123 ASP.NET 2.0 Basics 0 November 25th, 2007 06:25 PM
remove line break from masthead yayawatson XSLT 1 August 21st, 2007 12:54 PM
Remove Header and Trailer record??? gzura SQL Server DTS 2 April 27th, 2005 12:48 PM
How REMOVE NULL in DATA GRID kfls_83 SQL Server 2000 1 April 19th, 2004 10:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.