Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Giovanni Sidoel 94 posts 233 karma points
    Apr 30, 2012 @ 20:14
    Giovanni Sidoel
    2

    Countries missing in Country Picker

    Hi,

    I noticed there were some countries missing from the countries list. Most notably my own, Suriname. Is this an ommision on you part or has it been left out intentionally?
    But more importantly: where can I update this list to include my country?

    I'm using version 3.0 BTW.

    Regards.

     

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    May 01, 2012 @ 12:13
    Lee Kelleher
    1

    Hi Giovanni,

    Thanks for your feedback, much appreciated.

    The Country Picker dropdown is populated by the countries listed in .NET Framework's globalization settings - which has a limited set of countries (I believe it displays 110 of the 249 from the ISO 3166-1 list).

    Your options are:

    * Create a Custom Culture on your system (and web-server) - this can get very complicated, not recommended unless you *know* what you're doing.

    * Try to get a list of all ISO-3166-1 countries in a database and use the uComponents SQL DropDownList data-type.

    Failing those... let me know, we might be able to do something for a future uComponents release... but that would be a couple of months away.

    Good luck!

    Cheers, Lee.

  • Giovanni Sidoel 94 posts 233 karma points
    May 01, 2012 @ 16:51
    Giovanni Sidoel
    1

    Hi Lee,

    Indeed, populating my own table with a list of countries and using the SQL dropdownlist is a good alternative. So simple, I almost feel stupid :D.

    Thanks for the help!

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    May 01, 2012 @ 16:53
    Lee Kelleher
    0

    Hi Giovanni,

    Definitely do not feel stupid!  You had a very good question... which I'm sure others will have in future - this topic is a good reference!

    Good luck with your solution/project.

    Thanks, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft