Solved

Simple Issue with Default themes

Posted on 2007-03-28
3
2,157 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
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 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…

832 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