I would like to know how to work with the
<%$ %>
format in aspx pages开发者_运维技巧, as I see that it can be used in all kind of formats to insert server side values to controls. How does its called? And where can I please read about how to use it, and what are the format options in all kind of controls.
Thanks.
They are ASP.NET Expressions.
A very common usage is when using a resource file, like so
<asp:Label id="label1" runat="server" text="<%$ Resources: Messages, ThankYouLabel %>" />
Read more on them here: http://msdn.microsoft.com/en-us/library/d5bd1tad.aspx
精彩评论