RE: Setting CSSClass for Datagrid header's for sortable fields

From: Bill Borg (BillBorg_at_discussions.microsoft.com)
Date: 12/23/04


Date: Wed, 22 Dec 2004 23:25:02 -0800

In addition to headerstyle-cssclass=MyHeaderStyle, you might also need to set
a style for the <a> tags, depending on whether you've already styled these at
a higher level. E.g. A.MyHeaderStyle {color:red;} etc.

Bill

"Diffident" wrote:

> Hello All,
>
> I would like to set css class for datagrid's sortable columns. I cannot do
> it in the datagrid's header's CSSClass.
>
> Datagrid's sortable column headings are generated as <a> tags for which I
> would like to have a css class. How can I accomplish?
>
> Thanks
>
>
>



Relevant Pages

  • Re: Modifying the Font Format with Javascript
    ... > ONCLICK attribute to make them act similar to A tags. ... You may also set CSS classes on mouseover and mouseout: ... and the css class: ...
    (microsoft.public.scripting.jscript)
  • Re: Modifying the Font Format with Javascript
    ... > ONCLICK attribute to make them act similar to A tags. ... You may also set CSS classes on mouseover and mouseout: ... and the css class: ...
    (microsoft.public.inetsdk.html_authoring)
  • Re: Literal control doesnt have CssClass property?
    ... IIRC it doess't assign a CSS class because it doesn't write any tags ... It's not much of a container, it's just a placeholder Where do you ...
    (microsoft.public.dotnet.framework.aspnet)