Search

You searched for the word(s): userid:832088

Matching Posts

  • Re: IResourceProvider.GetObject() - Culture is always Invariant

    Hi Just wrote a simple "hello world" custom provider, following Rick Strahl's excellent paper. However, as in the original post, Getobject() seems to be called twice, once with culture = invariant, and then a second time with culture= nothing, although my page culture and UiCulture are both "es-es". Why is Getobject called twice and why is the culture argument an incorrect value both times? As in Rick Strahl's code, if culture= nothing then I just use the CurrentUiCulture
    Posted to Localization (Forum) by bigtower on 10/23/2008
  • Re: Problems using custom resource provider

    it seems the type I was using was wrong, it should have been namespace.classname in this line < globalization resourceProviderFactoryType = ........
    Posted to Localization (Forum) by bigtower on 10/23/2008
  • Problems using custom resource provider

    I have a very simple custom resource provider implementation , which looks like this: Public Class XXCustomResourceProviderFactory Inherits ResourceProviderFactory Public Overrides Function CreateGlobalResourceProvider Return New XXCustomResourceProvider(Nothing, classKey) End function CreateLocalResourceProvider returns nothing, as does the ResourceReader property of XXCustomResourceProvider . XXCustomResourceProvider.Getobject() always returns the string "hello world". I have registered
    Posted to Localization (Forum) by bigtower on 10/23/2008
    Filed under: App_GlobalResources, App_LocalResources, App_LocalResources App_GlobalResources, GetLocalResourceObject, globalization, localization, local resource asp:Localize culture, globalisation
Page 1 of 1 (3 items)