G
Guest
Hello,
I have what I thought was a simple problem, and perhaps there is still a
simple solution. I have a page that is using local resource files to store
all the necessary control properties on the form. I am using
initializeculture() to retrieve the user's preference from our database and
to set the currentCulture and currentUICulture on the first load. It works
well. However, we must supply a linkbutton named either Français or English
that a user can click to rebuild the page in the opposite language. The
problem is that the onClick event gets inheriently called after the
initializeCulture subroutine. So I am having troubles flipping the language.
Even if I implicitly call initializeCulture from the onClick event I do not
know how to tell the app to reload the resource files for the new language.
I am really trying to avoid having to say Label1.text = ... when I know that
the framework has the ability to load local resource files without code.
Any help would be appreciated,
I have what I thought was a simple problem, and perhaps there is still a
simple solution. I have a page that is using local resource files to store
all the necessary control properties on the form. I am using
initializeculture() to retrieve the user's preference from our database and
to set the currentCulture and currentUICulture on the first load. It works
well. However, we must supply a linkbutton named either Français or English
that a user can click to rebuild the page in the opposite language. The
problem is that the onClick event gets inheriently called after the
initializeCulture subroutine. So I am having troubles flipping the language.
Even if I implicitly call initializeCulture from the onClick event I do not
know how to tell the app to reload the resource files for the new language.
I am really trying to avoid having to say Label1.text = ... when I know that
the framework has the ability to load local resource files without code.
Any help would be appreciated,