Solved

Simple Issue with Default themes

Posted on 2007-03-28
3
2,139 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
Comment Utility
>SkidId="Warning"
Shouldn't it be SkinId...?
0
 

Author Comment

by:pamsauto
Comment Utility
Thats almost funny.

Simple Issue indeed!
0
 
LVL 10

Expert Comment

by:imrancs
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now