public AjaxControlToolkit.CascadingDropDownNameValue[] GetDropDownPageType(string knownCategoryValues, string category)
{
Dictionary<string, int> pageTypes = CMSWebHelper.GetEnumDataSource(Resources.CMSSetupResource.ResourceManager, typeof(CMSEnums.PageType));
List<AjaxControlToolkit.CascadingDropDownNameValue> cascadingList = new List<AjaxControlToolkit.CascadingDropDownNameValue>();
foreach (KeyValuePair<string, int> item in pageTypes)
{
cascadingList.Add(new AjaxControlToolkit.CascadingDropDownNameValue(item.Key, item.Value.ToString()));
}
return cascadingList.ToArray();
}