public static List <SelectListItem> DDLGetItems(this BusinessDropDownList d) { //List<SelectListItem> ItemList = BusinessDropDownList.GetItems(); return(d.GetItems()); }
//-----item list for auto complete public static List <SelectListItem> DDLGetItems(this BusinessDropDownList d, string itemname) { // List<SelectListItem> ItemList = BusinessDropDownList.GetItems(itemTerm); return(d.GetItems(itemname)); }