File: D:/HostingSpaces/TDijk1/erp-apps.eu/wwwroot/App_Code/Pux/Controls/CountryFormSelector.cs
using CMS.FormControls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Pux.Controls
{
public abstract class CountryFormSelector : FormEngineUserControl
{
protected List<string> AllowedCountriesList { get; set; }
public string AllowedCountries
{
get
{
return GetStringValue("AllowedCountries");
}
set
{
SetValue("AllowedCountries", value);
AllowedCountriesList = value.Split(';').Where(p => !string.IsNullOrEmpty(p)).ToList();
}
}
public int DefaultCountryID { get; set; }
public string DefaultValueText { get; set; }
public abstract void ReloadData();
}
}