Home All Groups Group Topic Archive Search About
Author
28 Jun 2006 9:12 AM
Peter Kirk
Hi

I am making a few simple web-controls (user controls) which have several
textboxes, dropdowns, and labels. Sometimes the text in the dropdowns and
the labels needs to be in different languages.

What is a good way of giving the control the information it needs to set the
text for the dropdowns and labels?


Thanks,
Peter

Author
30 Jun 2006 12:24 AM
Ken Cox [Microsoft MVP]
Hi Peter,

There's a whole framework in ASP.NET for doing that using Resources.

How to: Create Resource Files for ASP.NET Web Sites

http://msdn2.microsoft.com/en-us/library/ms228002.aspx


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpqstart/html/cpsmpnetsamples-aspnetlocalization.asp


Ken
Microsoft MVP [ASP.NET]


Show quoteHide quote
"Peter Kirk" <p*@alpha-solutions.dk> wrote in message
news:uvrGvLpmGHA.1252@TK2MSFTNGP02.phx.gbl...
> Hi
>
> I am making a few simple web-controls (user controls) which have several
> textboxes, dropdowns, and labels. Sometimes the text in the dropdowns and
> the labels needs to be in different languages.
>
> What is a good way of giving the control the information it needs to set
> the text for the dropdowns and labels?
>
>
> Thanks,
> Peter
>