Domanda

This is it, I've been learning about satellite assemblies, and I think I already understood how to create them and how to use them in code with the ResourceManager

The problem is that I would like to consume a satellite assmebly via the page's markup (declaratively) but I have not found a way to do it.

Any thoughts?

My goal is to be able to use them something like this:

<asp:Localize runat="server" Text="<%$ Resources:[external assembly][resources file name], [resource key] %>">

</asp:Localize>
È stato utile?

Soluzione

You would need to implement your own Custom ResourceProvider where you would build out your methods that use those assemblies.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top