Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Alan Z. Scharf #1
Underline Hyperlink Column Heading Only
1. I have a multi-column datagrid with the first two columns Sortable
Hyperlink columns.
2. Right now, I have the entire two column set to A {TEXT-DECORATION: none}
within HEAD Style because I don't want the hyperlinked items in the rows
underlined..
3. HoweverI want the header text to be underlined..
But the A{...} also turns off the underline in the hyperlink column header
text.
4. I tried setting the two hyperlink headers to Underline in Property
Builder, but underlines only work sthere for Non-hyperlinked columns.
Any way to have only the Sortable Hyperlink Header Tex underlined, but not
the item rows?
Thanks.
Alan
Alan Z. Scharf Guest
-
May I disable underline in one gridview Hyperlink field ?
May I disable underline in one gridview Hyperlink field ? -
hyperlink column text. Where is it??
Does anyone have any idea how to get the text out of a hyperlink column in a web datagrid? It's a hyperlink column, not a template column so... -
Help with Hyperlink Column!
Hi, all! I'm trying to build a hyperlink column who textField is one column in the query, but whose URL needs to dyunamically contain the data... -
HyperLink Column
Does anyone Know how to programmatically assign all the columns in a DataGrid with AutoGenerateColumns set to true as Hyperlink Columns? Thanks... -
removal of underline in Hyperlink
http://www.mako4css.com http://www.thepattysite.com/linkstyles1.cfm http://www.projectseven.com (look for Pseudo-Class tutorial) -- Murray... -
Andrew L. Van Slaars #2
Re: Underline Hyperlink Column Heading Only
You could create a CSS class, and then attach different elements to that
class.... once that is done, just attach the class to the dataGrid header.
Sample css code is listed below.
Hope this helps
-Andrew
CSS SAMPLE CODE...
/*This will format the plain text in the grid */
..gridHeader
{
background-color:#FFFFFF;
font-size:12px;
font-weight:900;
color:#000000;
text-decoration:underline;
}
/*Formatting for sort links in grid header rows*/
..gridHeader a /*this one sets the basic link formatting, the ones
below set the link states*/
{
font-size:12px;
font-weight:900;
text-decoration:none;
}
..gridHeader a:link
{
color:#000000;
}
..gridHeader a:active
{
color:#000000;
}
..gridHeader a:visited
{
color:#000000;
}
..gridHeader a:hover
{
color:#006633;
}
"Alan Z. Scharf" <ascharf@grapevines.com> wrote in message
news:%23n2QI3I3EHA.3236@TK2MSFTNGP15.phx.gbl...> 1. I have a multi-column datagrid with the first two columns Sortable
> Hyperlink columns.
>
> 2. Right now, I have the entire two column set to A {TEXT-DECORATION:
> none}
> within HEAD Style because I don't want the hyperlinked items in the rows
> underlined..
>
> 3. HoweverI want the header text to be underlined..
>
> But the A{...} also turns off the underline in the hyperlink column header
> text.
>
> 4. I tried setting the two hyperlink headers to Underline in Property
> Builder, but underlines only work sthere for Non-hyperlinked columns.
>
> Any way to have only the Sortable Hyperlink Header Tex underlined, but not
> the item rows?
>
> Thanks.
>
> Alan
>
>
>
Andrew L. Van Slaars Guest
-
Alan Z. Scharf #3
Re: Underline Hyperlink Column Heading Only
Andrew,
Thanks very much for replying.
I will check this out.
Regards,
Alan
"Andrew L. Van Slaars" <andrew@vanslaars.com> wrote in message
news:eFK$UWE5EHA.3388@TK2MSFTNGP15.phx.gbl...header> You could create a CSS class, and then attach different elements to that
> class.... once that is done, just attach the class to the dataGrid header.
> Sample css code is listed below.
> Hope this helps
>
> -Andrew
>
> CSS SAMPLE CODE...
>
> /*This will format the plain text in the grid */
> .gridHeader
> {
> background-color:#FFFFFF;
> font-size:12px;
> font-weight:900;
> color:#000000;
> text-decoration:underline;
> }
>
> /*Formatting for sort links in grid header rows*/
> .gridHeader a /*this one sets the basic link formatting, the ones
> below set the link states*/
> {
> font-size:12px;
> font-weight:900;
> text-decoration:none;
> }
>
> .gridHeader a:link
> {
> color:#000000;
> }
>
> .gridHeader a:active
> {
> color:#000000;
> }
>
> .gridHeader a:visited
> {
> color:#000000;
> }
>
> .gridHeader a:hover
> {
> color:#006633;
> }
>
>
> "Alan Z. Scharf" <ascharf@grapevines.com> wrote in message
> news:%23n2QI3I3EHA.3236@TK2MSFTNGP15.phx.gbl...> > 1. I have a multi-column datagrid with the first two columns Sortable
> > Hyperlink columns.
> >
> > 2. Right now, I have the entire two column set to A {TEXT-DECORATION:
> > none}
> > within HEAD Style because I don't want the hyperlinked items in the rows
> > underlined..
> >
> > 3. HoweverI want the header text to be underlined..
> >
> > But the A{...} also turns off the underline in the hyperlink columnnot> > text.
> >
> > 4. I tried setting the two hyperlink headers to Underline in Property
> > Builder, but underlines only work sthere for Non-hyperlinked columns.
> >
> > Any way to have only the Sortable Hyperlink Header Tex underlined, but>> > the item rows?
> >
> > Thanks.
> >
> > Alan
> >
> >
> >
>
Alan Z. Scharf Guest



Reply With Quote

