Solved

Simple Issue with Default themes

Posted on 2007-03-28
3
2,161 Views
Last Modified: 2008-11-13
So I am getting this error when I try to build my project in reference to my skin file.

Error      1      Type System.Web.UI.WebControls.Label already has a default theme defined.      App_Themes/SkinFile/      

I have this code in the skin file, and if I remove either line the code compiles and runs fine.   It seems to me that the SkinId tag is not being seen by ASP.  What am I doing wrong?

<asp:Label runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="Black" />

<asp:Label SkidId="Warning" runat="server"  Font-Bold="True" Font-Size="Medium" ForeColor="Red" />
0
Comment
Question by:pamsauto
3 Comments
 
LVL 28

Accepted Solution

by:
TName earned 500 total points
ID: 18810490
>SkidId="Warning"
Shouldn't it be SkinId...?
0
 

Author Comment

by:pamsauto
ID: 18810554
Thats almost funny.

Simple Issue indeed!
0
 
LVL 10

Expert Comment

by:imrancs
ID: 22896540
This happened with me too but instead there was different problem with same exception message.
somehow there was another skin file exists in theme folder with name skin1.skin i just deleted that one and got it fixed.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

840 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