Hello,
in ASP.NET 1.x I rememebr that the header of a datagrid was not output as a
<th> tag. Now in 2.0 using the new gridview, it is out put as a table
header, which makes everything bold. What if I don't want everything in the
header to be Bold in the gridview?
I am trying to port over an old aspnet app and I can't have the header bold,
it just looks fugly.
Any helps to turn off bold in the header would be great!
Thanks,
Bryan 3 3356
Add within the grid defintion:
<HeaderStyle CssClass="MyHeaderStyle"/>
and in the style section of your page:
..MyHeaderStyle td{font-weight:normal;}
-----
HTH,
Phillip Williams http://www.societopia.net http://www.webswapp.com
"Bryan" wrote: Hello, in ASP.NET 1.x I rememebr that the header of a datagrid was not output as a <th> tag. Now in 2.0 using the new gridview, it is out put as a table header, which makes everything bold. What if I don't want everything in the header to be Bold in the gridview?
I am trying to port over an old aspnet app and I can't have the header bold, it just looks fugly.
Any helps to turn off bold in the header would be great!
Thanks, Bryan
"Phillip Williams" wrote: Add within the grid defintion: <HeaderStyle CssClass="MyHeaderStyle"/>
and in the style section of your page: .MyHeaderStyle td{font-weight:normal;}
(correction) .MyHeaderStyle th{font-weight:normal;}
----- HTH, Phillip Williams http://www.societopia.net http://www.webswapp.com
"Bryan" wrote:
Hello, in ASP.NET 1.x I rememebr that the header of a datagrid was not output as a <th> tag. Now in 2.0 using the new gridview, it is out put as a table header, which makes everything bold. What if I don't want everything in the header to be Bold in the gridview?
I am trying to port over an old aspnet app and I can't have the header bold, it just looks fugly.
Any helps to turn off bold in the header would be great!
Thanks, Bryan
I found a new property on the gridview control, its "UseAccessableHeader",
setting that to false did the trick and made it not bold.
Bryan
"Bryan" <Br*****@nospam.nospam> wrote in message
news:eo**************@TK2MSFTNGP10.phx.gbl... Hello, in ASP.NET 1.x I rememebr that the header of a datagrid was not output as a <th> tag. Now in 2.0 using the new gridview, it is out put as a table header, which makes everything bold. What if I don't want everything in the header to be Bold in the gridview?
I am trying to port over an old aspnet app and I can't have the header bold, it just looks fugly.
Any helps to turn off bold in the header would be great!
Thanks, Bryan This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tim Cartwright |
last post by:
I am trying to figure out how to change the gridview caption style, but I
can not figure out how. I added
table caption {
background-color: #5D7B9D;
color: White;
font-size: 16pt;
}
to my...
|
by: P. Yanzick |
last post by:
Hello,
I've been playing with master/detail views as well as editing in the
gridview, and I ran across a strange problem that I am not exactly sure
where to go to try to solve.
I have 2...
|
by: Marcos Beccar Varela | GamaCom Argentina |
last post by:
Hello Everyone. I need to use a gridview, that when I use the Update command
one of the colums, instead of showing a textbox where the user can write, I
need
a combobox (listobx), where there are...
|
by: =?Utf-8?B?SmliZXkgSmFjb2I=?= |
last post by:
Hi:
I placed an <asp:Tableinside the HeaderTemplate of a TemplateField of a
GridView. The contents of the <asp:Table just doesn't show up. Can someone
please tell me why?
Thanks,
Jibey
|
by: =?Utf-8?B?QmFyYmFyYSBBbGRlcnRvbg==?= |
last post by:
I setup a simple gridview as a utility just to do some updates, nothing fancy
just wanted easy UI to make updates. When I select ‘Edit’, I get the fields
I want to edit. I edit them and click...
|
by: jaredciagar |
last post by:
Hi Guys,
Can You Help Me PLease, I'm Currently facing Problems in my system...
I need some help...
I'm using VB script,ASP.net,MS SQL Server2005
I want to select a specific data in...
|
by: KalariaNitya |
last post by:
Hello,
could anybody help me?
i have gridview, inside gridview i have one Update button & textbox
update button update the quantity entered in textbox.
i want to update the quantity on textbox on...
|
by: RobertTheProgrammer |
last post by:
Hi folks,
I've got another problem. Basically, I'm trying to use a nested GridView, however the nexted GridView displays no values (even though in debug I'm getting valid values into my DataSet. ...
|
by: xMetalDetectorx |
last post by:
Hi Everyone,
I have a very simple web app that uses .Net 2.0 login control to authenticate users and allow access to an "admin" folder. Inside that admin folder I have one page that has a...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
| |