473,322 Members | 1,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Expressions are not allowed in skin files.

I am trying to set a culture in my skin file, I had used the following code
in my skin file:

<asp:Label ID="UserNameLabel" runat="server" Text='<%$ Resources: CreateNew,
Label1UserName %>' AssociatedControlID="UserName" style="FONT-WEIGHT:
bold;FONT-SIZE: 11px; COLOR: #000000"></asp:Label>

from the globalResources and I get the following error:
Expressions are not allowed in skin files.

Then I had tried the LocalResources by adding the meta tag below

<asp:Label ID="UserNameLabel" runat="server"
meta:resourcekey="Label1UserName" AssociatedControlID="UserName"
style="FONT-WEIGHT: bold;FONT-SIZE: 11px; COLOR:
#000000">Username:</asp:Label>

But this time it ignores it, any idea of how to do that?
Many thanks in advance.

Kindest Regards
Lamine
Nov 22 '07 #1
0 1182

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tony | last post by:
Via regular expressions, how do I replace characters in a string with ""(nothing) if they aren't in an array of allowed characters? var allowed = ; var string = "xyz w yz"; - replace...
1
by: Endif | last post by:
I am tring to execute the following SQL statements through the Iseries Navigator for DB2/V8.2, But i come up with an error saying recursion is not allowed in common table expression. This is a...
0
by: Kelvin.YuShen | last post by:
Hello there, I got a problem when I was uploading the skin I developed. Following is the code from my original skin template (skin.htm): <TABLE cellspacing="3" cellpadding="3" width="100%"...
0
by: jerome.hill | last post by:
Does anyone know why intellisense is not supported in the skin file editor in VS 2005? Is there away around this or not? Just makes it hard to code these files as you have to create the control in...
1
by: Alan Silver | last post by:
Hello, I am just converting a 1.1 web site to use version 2.0 of the framework and have run into a weird problem trying to add a skin file. I set up a theme, and moved the CSS file in there,...
56
by: Luke Matuszewski | last post by:
I am designing the library, which will hidden all its functions within singleton object ... So for clients they will use it like . eg. system.getElementWithId('ruler'); At library side, i...
3
by: Chris | last post by:
Hi everyone, I'm trying to parse through the contents of some text files with regular expressions, but am new to regular expressions and how to use them in VB.net. I'm pretty sure that the...
1
by: Jeff | last post by:
Dear reader :-) ASP.NET 2.0 I have a GridView on my webpage. The ItemTemplate and AlternativeItemTemplate should have different background color. I've tryed this technique which don't help...
8
by: scotty | last post by:
Can a .skin file be created without visual studio? Thanks, Scott
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.