R
Radu
Hi. I have an INPUT html control. How can I set the initial "select a
value" type of text in a language-sensitive way ? I have the following
HTML:
<select
class="input"
id="cboSelectScorecardType" size="1"
onfocus="previewFile(this)"
onchange="previewFile(this)"
style="width:400px;
background-position: left top;
background-attachment: scroll;
background-repeat: repeat-x;"
runat="server">
<option><%$ Resources:Scorecards, String19 %></option>
</select>
It does not compile - it says
Error 53 - Literal expressions like
'<%$ Resources:Scorecards, String19 %>'
are not allowed. Use
<asp:Literal runat="server" Text="<%$ Resources:Scorecards,
String19%>" />
instead
but I cannot have a literal control in there.....
I have also tried with
<option><%= Resources:Scorecards, String19 %></option>
and with
<option><%=GetGlobalResourceObject("Scorecards", "String18")%></
option>,
all with no success.
How can one do this ? Thank you very much !
Alex.
value" type of text in a language-sensitive way ? I have the following
HTML:
<select
class="input"
id="cboSelectScorecardType" size="1"
onfocus="previewFile(this)"
onchange="previewFile(this)"
style="width:400px;
background-position: left top;
background-attachment: scroll;
background-repeat: repeat-x;"
runat="server">
<option><%$ Resources:Scorecards, String19 %></option>
</select>
It does not compile - it says
Error 53 - Literal expressions like
'<%$ Resources:Scorecards, String19 %>'
are not allowed. Use
<asp:Literal runat="server" Text="<%$ Resources:Scorecards,
String19%>" />
instead
but I cannot have a literal control in there.....
I have also tried with
<option><%= Resources:Scorecards, String19 %></option>
and with
<option><%=GetGlobalResourceObject("Scorecards", "String18")%></
option>,
all with no success.
How can one do this ? Thank you very much !
Alex.