+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / Add Country Dropdown List widget

Add Country Dropdown List widget

4 posts, 0 answered
  1. Zubair
    Zubair avatar
    142 posts
    Registered:
    26 Dec 2007
    05 Oct 2011
    Link to this post
    Hi there,

    I am new to Sitefinity 4.x but have quite alot of experience with Sitefinity 3.x, I am looking at building a Contact us form with the Country dropdown list, since it is a pain to add all of them to the dropdown widget I am looking at reusing anything prebuilt by you or your partners otherwise building it myself,

    Can you please tell me where to download any existing or where to look at to build my own widget.

    A quick reply will be highly appreciated.

    Thanks,
  2. Garrett
    Garrett avatar
    1 posts
    Registered:
    21 Oct 2011
    21 Oct 2011
    Link to this post
    I'm looking for something like this as well.  Having a list of countries is an extremely common feature of forms and having to build it out manually is incredibly inefficient.
  3. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    26 Oct 2011
    Link to this post
    I needed a similar resource when making a States menu selector, and found Snipplr to be very useful. here are a few snippets I found that might be useful:

    Dropdown Countries (C#)
    Countries (HTML)
    Get Countries Method (C#)

    That last one looks particularly interesting, as it doesn't use a list, but rather iterates through all the cultures in C#.

    I've not tried any of these, so I don't know how accurate they are, but they should be helpful in getting you started. I recommend extracting these to an xml file or resource file so it can be reused but easily modified.

    hope this is helpful!
  4. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    19 Sep 2016
    26 Oct 2011
    Link to this post
    Hello,

    Thank you for pointing out the need for such functionality. We have logged it as a feature request in our system, and you can track its status and vote for it in PITS on this public URL.

    Kind regards,
    Boyan Barnev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

4 posts, 0 answered