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