'InitializeCulture' is not a member of

R

RN1

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:

------------------------
'InitializeCulture' 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
 
R

RN1

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:

------------------------
'InitializeCulture' 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

<globalization uiCulture="en" culture="en-US" />

under <system.web> in the web.config file.
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top