473,569 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What class in CSS affect the head of GridView

ad
I use a pre-defined CSS to my webpage.
There are many class in the CSS.
The header of my GridView will be affected by the CSS, but I can't find the
class which affect the header of the GridView.

What class in CSS affect the head of GridView?

Aug 4 '06 #1
2 2016
CSS calsses don't affect anything unless you specify the class in the HTML
tag or the ASP cssclass porperty.

To apply a css class to a the header of a gridview set the cssclass property
of the HeaderStyle tag.

e.g.

<HeaderStyle CssClass="MyCss Class" />

"ad" wrote:
I use a pre-defined CSS to my webpage.
There are many class in the CSS.
The header of my GridView will be affected by the CSS, but I can't find the
class which affect the header of the GridView.

What class in CSS affect the head of GridView?

Aug 4 '06 #2
ad
But I did not assing a css class to the header of a gridview, but the font
did affect by the CSS.
"clickon" <cl*****@discus sions.microsoft .com¼¶¼g©ó¶l¥ó· s»D:57********* *************** **********@micr osoft.com...
CSS calsses don't affect anything unless you specify the class in the HTML
tag or the ASP cssclass porperty.

To apply a css class to a the header of a gridview set the cssclass
property
of the HeaderStyle tag.

e.g.

<HeaderStyle CssClass="MyCss Class" />

"ad" wrote:
>I use a pre-defined CSS to my webpage.
There are many class in the CSS.
The header of my GridView will be affected by the CSS, but I can't find
the
class which affect the header of the GridView.

What class in CSS affect the head of GridView?


Aug 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
26497
by: Noozer | last post by:
I have several tags on a webpage of the same class. If the user clicks a specific checkbox I'd like to be able to alter the display property of the class, affecting all objects of that class. This is an intranet application so we know that javascript will be enabled and the browser will be IE. How can I affect all the members of this...
7
1915
by: ÀÏÆÅ»³ÔÐ5¸öÔ | last post by:
I want use dropdownlist contral in gridview but have trouble now mycode here: i'm very sorry for my poor english <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
1720
by: Richard Coltrane | last post by:
Hello Im reading this article about the Gridview: http://msdn.microsoft.com/msdnmag/issues/04/08/GridView/ Whilst I realise that im not forced to use their methods I do find it confusing that the article states that the code below is an example of the "recommended data binding approach in ASP 2.0". Why is placing DAL level code and...
2
2076
by: pgonzo | last post by:
In my initial tests with the GridView control, I cannot understand why the DataFormatString attribute has no affect on the column formatting. The 'creation_date' field is being reported as "3/30/02 14:23:28". I want to display it as "03/30/02". I've included the code below. Can anyone offer an explanation? <asp:SqlDataSource...
0
1091
by: kokimisev | last post by:
I'm new on ASP.NET programming. I'm working with Visual Studio 2005. I have made this web application using C# language. I'm using prepared components like AccessDataSource. After creating I tested it on localhost and it worked. But when I send it to a server on Internet it doesn't work. I think that the problem is in new Visual Studio 2005 Code...
0
2396
by: drawing in aspnet | last post by:
Question about putting the data layer in a separate class library. I keep reading that the data layer should be separated from the presentation layer and put in its own class library. I am trying to do this but running into a problem. I'm hoping someone can point me in the right direction. I first create a class library (all code in C#)...
1
1213
by: COHENMARVIN | last post by:
I have a gridview with a button that should only appear if the database routine it is based on returns a value of 'True' for the database field "ReservationsExist". So I tried putting in the following: <asp:ButtonField ButtonType="Button" CommandName="Reservations" HeaderText="View Reserves" Text="View Reserves" Visible='<%#...
0
1104
by: _Who | last post by:
I have a .htm the shows in an iframe. I need the .htm to use the style class from the master. The context appears to use it with no problem But I don't know how to propagate it into the .htm
2
1211
by: _Who | last post by:
Hope I'm not posting twice. Posted this a while ago but it does not show in my ng. I have a .htm file that shows in an iframe. I need the .htm to use a style class from the master. The context appears to use it with no problem
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6287
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5223
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
946
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.