Styles for cells

E

Erik Cruz

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top