Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
Hi everyone,

I'd like to programmatically set the culture of my User Control which defines several Labels, Buttons and Textboxes etc...

Usually, for aspx-pages we override the InitializeCulture-Method and set Culture and UICulture to achieve this, alas ASCX-Controls do not have this Method, so how exactly would I do this?

I've set up the local resources mycontrol.ascx.de-DE.resx, mycontrol.ascx.resx and mycontrol.ascx.en-GB.resx but only the values of the default file (mycontrol.ascx.resx) are used.

Thanks in advance.
Santhosh
Posted

1 solution

Have a look at this [^]one.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900