Click here to Skip to main content
13,043,650 members (51,676 online)
Rate this:
Please Sign up or sign in to vote.
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.resx and mycontrol.ascx.en-GB.resx but only the values of the default file (mycontrol.ascx.resx) are used.

Thanks in advance.
Posted 16-Feb-11 21:46pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Have a look at this [^]one.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 17 Feb 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100