OK. Thanks.
But then, is there a reference indicating where those construct are usable?
Like, I think I can use it in a server control tag, but not in a html or style tag.
Exemple:
<
td background='<% System.String.Format("{0}7.gif", Global.GetPath(RessourceType.Image)); %>' valign=
"middle" style=
"width: 190px; text-align: center; height: 41px;">
or
<td style='width: 997px; height: 55px; background-image: url(<% String.Format("{0}4.gif", Global.GetPath(RessourceType.Image)); %>);' valign='bottom'>
will compile but return nothing in the background style definition
(<td background='' valign="middle" style="width: 190px; text-align: center; height: 41px;">
or
<td style="width: 997px; height: 41px; background-image: url();">),
but when I use the other construct:
<
td background='<%= System.String.Format("{0}7.gif", Global.GetPath(RessourceType.Image)); %>' valign=
"middle" style=
"width: 190px; text-align: center; height: 41px;">
or
<
td style='width: 15px; background-image: url(<%= System.String.Format("{0}8.gif", Global.GetPath(RessourceType.Image)); %>); height: 41px;'>
I get a compile error saying that a ')' was expected, and another one telling me that ')' is an invalid expression term...
Regards,
Pascal Marier-Dionne,
Web Developer.
Quebec, Canada