?
Solved

Simple Issue with Default themes

Posted on 2007-03-28
3
Medium Priority
?
2,183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 28

Accepted Solution

by:
TName earned 2000 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 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