'InitializeCulture' is not a member of

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • RN1

    #1

    'InitializeCulture' is not a member of

    I have an ASPX page with all the subs & functions. I created a code-
    behind for this ASPX page & moved the entire code except for the GUI
    code in the code-behind. I also added the CodeFile & Inherits
    attributes to the Page directive. Now when I run the ASPX page, the
    following error gets generated:

    ------------------------
    'InitializeCult ure' is not a member of 'ASP.ets_aspx'.
    ------------------------

    What could be causing this error & how do I overcome it?

    Please note that I don't have any culture related tags or attributes
    in the web.config file.

    Thanks,

    Ron
  • RN1

    #2
    Re: 'InitializeCult ure' is not a member of

    On Oct 16, 12:19 pm, RN1 <r...@rediffmai l.comwrote:
    I have an ASPX page with all the subs & functions. I created a code-
    behind for this ASPX page & moved the entire code except for the GUI
    code in the code-behind. I also added the CodeFile & Inherits
    attributes to the Page directive. Now when I run the ASPX page, the
    following error gets generated:
    >
    ------------------------
    'InitializeCult ure' is not a member of 'ASP.ets_aspx'.
    ------------------------
    >
    What could be causing this error & how do I overcome it?
    >
    Please note that I don't have any culture related tags or attributes
    in the web.config file.
    >
    Thanks,
    >
    Ron
    OK.....I resolved it. I declared

    <globalizatio n uiCulture="en" culture="en-US" />

    under <system.webin the web.config file.

    Comment

    Working...