473,748 Members | 2,361 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="UserNameLab el" runat="server" Text='<%$ Resources: CreateNew,
Label1UserName %>' AssociatedContr olID="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="UserNameLab el" runat="server"
meta:resourceke y="Label1UserNa me" AssociatedContr olID="UserName"
style="FONT-WEIGHT: bold;FONT-SIZE: 11px; COLOR:
#000000">Userna me:</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 1198

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

Similar topics

3
1570
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 everything not in allowed array.
1
5015
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 example i picked up from SQL cook book. I am not sure where i am wrong. Any help is appreciated WITH TEMP ( SUPV_ID,EMPID, FIRSTNAME) AS ( SELECT TV.SUPV_ID,TV.EMPID, TV.FIRSTNAME
0
2217
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%" border="0"> <TR> <TD class="toppane" colspan="3" valign="top"
0
1299
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 a web page or equivalent that supports intellisense and then move it to the skin file. Any help or suggestions. Thanks Jerome
1
3714
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, no problem. I then changed one of the <img> tags in the master page to look like... <asp:Image ID="imgBsd" SkinId="imgBsd" runat="server" />
56
3992
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 will use constructs like follows (at global scope) eg.
3
2550
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 regular expressions are correct as I got them from regexlib.com and tested them in the Regulator and Expresso. The problem is I tested this function with a file that contains a string
1
2254
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 at all, it only displays backgorund color for the label control, it doesn't fill the entire ItemTemplate
8
5146
by: scotty | last post by:
Can a .skin file be created without visual studio? Thanks, Scott
0
8984
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9530
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8237
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6793
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4593
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.