Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Dropdown with All Countries

Vote:
 

Hi

I have to show DropDown with Countries in Registration Page.Is any built in feature in Episerver from where i can get all country names?

I don't want to use seprate Database for this.

Thanks in Advance!

 

#52312
Jul 18, 2011 12:00
Vote:
 

Hi Atul

You can get this from the CultureInfo class in .NET: http://madskristensen.net/post/Bind-countries-from-CultureInfo-class-in-C.aspx and http://madskristensen.net/post/Get-language-and-country-from-a-browser-in-ASPNET.aspx.

Hope this helps.

Frederik

#52323
Jul 18, 2011 21:06
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.