Missing server tags after creating local resources

I created local resources for my page using the " Generate Local Resources" in tool VS2010. VS adds a meta-resource key for all controls that have a property of type Text or ToolTip. Everything is fine.

But I have aspx code server tags <% if(condition) { %> my aspx code <% { %>that have been removed. What for? Now I have to manually compare files after and before generation. Do you know how to avoid this?

+5
source share
1 answer

Local resource generation performs static control or value. if you want to use dynamic content or advanced conditions (s), use the Resource Provider Model, or perhaps you can use a literal.

0
source

All Articles