Css class for a specific control type in css file

Last post 04-04-2007 12:52 PM by himawari. 1 replies.

Sort Posts:

  • Css class for a specific control type in css file

    04-04-2007, 9:16 AM
    • Loading...
    • safknw
    • Joined on 05-19-2005, 12:05 PM
    • India
    • Posts 184

    hi,

    I have a question (might be wired). 

    I am building a web application. I want to know how I can apply a css class to all controls of gridview type in my application same as we do for we do for any html control.

    Is it possible? If yes then how?

    Sharique udddin Ahmed Farooqui
    Web Developer
  • Re: Css class for a specific control type in css file

    04-04-2007, 12:52 PM
    Answer
    • Loading...
    • himawari
    • Joined on 07-19-2006, 3:26 PM
    • Vancouver, BC
    • Posts 63

    You might want to investigate using Theme and Skin for that purpose. 

    First, create a css class for your Gridview control.

    Create a Skin for your gridview control and set the cssclass attribute to the css class you have created.

    http://msdn2.microsoft.com/en-us/library/ykzx33wh(VS.80).aspx

    Filed under: , ,
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter