Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Styles for cells

Reply
Thread Tools

Styles for cells

 
 
Erik Cruz
Guest
Posts: n/a
 
      09-06-2003
Hi.

I am trying to create some styles for use in my datagrids. I have a class
that sets the borders for the itemtemplates of the datagrid but it does not
work:

..CellStyle
{
border-color:Blue;
border-width:medium;
border-style:solid;
}

<ITEMTEMPLATE cssclass="CellStyle"></ITEMTEMPLATE>

Aren't itemtemplates equivalent to <tr> elements? How should I write a style
to define the borders for all the cells of a datagrid?

TIA,
Erik Cruz


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert yyyymmdd text cells into date cells =?Utf-8?B?ZF9jYW1wZWxvQGhvdG1haWwuY29t?= Microsoft Certification 2 11-22-2006 04:52 PM
Writing to Cells in the Detailsview Insertmode makes cells uneditable. SixStringSlaya@gmail.com ASP .Net 0 02-28-2006 10:23 PM
Column Styles Rich MCSD 0 10-02-2003 11:29 PM
Cells[].Text or Cells[].Controls[0] Joel Finkel ASP .Net Datagrid Control 0 09-01-2003 04:42 PM
Re: creating styles for certain cells in a table Lenny ASP .Net 5 07-29-2003 08:25 PM



Advertisments