View Single Post
  #5 (permalink)  
Old September 12th, 2010, 03:50 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
I added a skin folder to the Monochrome in the theme folder so it's now like :
Take a look at page 233, directly under the heading Creating a Skin File. You can't save them to sub folders.

Quote:
and chose Microsoft visual c# in the editor drop
Ah, that explains the error. But why would you want to do that? It's not C# code, it's markup. Take a look at page 234 for the proper instructions on how to do this.

Quote:
I have also another question, how will the buttons capture this skin?
It works the other way around. .NET sees the skin, and applies the CssClass on the skin button to the button in the HTML. Take a look at page 235 for an explanation.

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote