custom resource manager in ASP.NET 2.0

M

Martin Bischoff

Hi,

is it possible to implement custom resource managers for ASP.NET 2.0 so
that strings can be read from a database (for example)?

Ideally, it should be possible to configure the custom resource manager
in web.config, so that it replaces the default resource manager. Using
the <%$ ... %> syntax should read the strings via the custom resource
manager, e.g. when used like this:


<asp:Label ID="Label1" runat="server"
Text="<%$ Resources:Resource, STRING_ID %>"></asp:Label>


Thanks for any help,
Martin
 
G

Guest

Martin,

I have done this in one of my project. I created an extended resource
manager which gets the strings file from the xml rather getting it from the
compiled resource, so it is possible, that you can extend the asp.net
resource manager according to your requirement.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top