Yes, thats what I was looking for, thanks.
> Hi CS,
>
> From your description, what you want to do is using the localization
> resources defined in a class library assembly(rather than the
> App_LocalResource or App_GlobalResource) in your ASP.NET 2.0 page,
> correct?
>
> Based on my understanding, ASP.NET 2.0 web page's localization directive
> (<%$Resource %>) can only reference resource items defined in either
> App_LocalResource or App_GlobalResource's resource files. To use resource
> items in a separate .net assembly, you may need to manually load the
> resource through resource API(such as resourceManager ...)
>
>
http://msdn2.microsoft.com/en-us/library/aa309403(VS.71).aspx
>
> Also, for ASP.NET 2.0 application, if you perform precompilation for your
> web application, those resource files in App_GlobalResource and
> App_LocalResource can be precompiled into assemblies. Is this possible to
> help avoid using separate assembly to store resource?
>
> In addition, if you do have to store resource in class library, you can
> consider create a custom expression build that encapsulate the code logic
> of retrieving resource from external resource file or assembly and use
> your
> custom expression in ASPX template. here is a msdn article introducing
> this:
>
> #Extending the ASP.NET 2.0 Resource-Provider Model
>
http://msdn2.microsoft.com/en-us/library/aa905797.aspx >
> And another good article about custom expression builder in ASP.NET 2.0:
>
> #The CodeExpressionBuilder
>
http://weblogs.asp.net/infinitiesloop/archive/2006/08/09/The-CodeExpressionB > uilder.aspx
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
>
> ==================================================
>
> Get notification to my posts through email? Please refer to
>
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif > ications.
>
>
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
>
http://msdn.microsoft.com/subscriptions/support/default.aspx. >
> ==================================================
>
>
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>