Why is GetGlobalResourceObject protected? RRS feed

  • Question

  • User-778661250 posted
    As the subject says, is there a reason why GetGlobalResourceObject is protected?  At the very least, couldn't it atleast be protected on Control instead of TemplateControl?  As itstands, isn't it useless for custom server controls and user controls?

    I must be missing something...


    Monday, November 21, 2005 12:11 PM

All replies

  • User1183903743 posted

    Hi Karl

    there is a static



    Friday, November 25, 2005 3:11 PM
  • User-778661250 posted
    It does, thanks!  I knew I was missing something.
    Tuesday, December 6, 2005 8:02 AM
  • User287763314 posted


    btw, you should also note that you the global resource files are parsed  into classes. for instance, if you had a resource file call Resources inside the app_globalresource files that has a string entry called Test then you can get that value by using code like this:


    Tuesday, December 6, 2005 9:36 AM