H
Heinrich Moser
Hi!
What are the advantages/disadvantages of using
<p><%= Resources.MyGlobalResourceFile.HelloWorld %></p>
as compared to
<p><asp:Localize runat="server" Text="<%$ Resources:MyGlobalResourceFile, HelloWorld %>" /></p>
Both seem to do quite the same. The documentation seems to recommend
the second one, although the first one looks more elegant to me (less
code, less server-side controls, IntelliSense auto-completion).
Are the any good reasons to favor one over the other? (Assuming that
it is not necessary to change this value in code...)
Greetings,
Heinzi
What are the advantages/disadvantages of using
<p><%= Resources.MyGlobalResourceFile.HelloWorld %></p>
as compared to
<p><asp:Localize runat="server" Text="<%$ Resources:MyGlobalResourceFile, HelloWorld %>" /></p>
Both seem to do quite the same. The documentation seems to recommend
the second one, although the first one looks more elegant to me (less
code, less server-side controls, IntelliSense auto-completion).
Are the any good reasons to favor one over the other? (Assuming that
it is not necessary to change this value in code...)
Greetings,
Heinzi