Solved

CssClass to override skin file.

Posted on 2008-06-17
1
2,513 Views
Last Modified: 2012-05-05
I have a skin file I've created for a gridivew.  I have a column in the gridview that I want to apply a different CssClass to.  How can I override the skin to use the cssClass in one column.  I'm using a Stylesheet theme.
0
Comment
Question by:weimha
1 Comment
 
LVL 18

Accepted Solution

by:
Elvio Lujan earned 500 total points
ID: 21812421
gvwMain.Columns[0].ItemStyle = "yourCssClass";
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question