Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ChildActionOnly]
- public ActionResult Menu()
- {
- var menuOptions = Session.GetDataFromSession<List<Menu>>(StoreManagerKeys.Menus);
- string tkn = "";
- string a = "Eresults_MenuOption_";
- if (ConfigurationManager.AppSettings["generateInterfeatures"] != "true" || menuOptions != null)
- {
- foreach (var button in menuOptions)
- {
- string b = RemoveDiacritics(button.Description).Replace(" ", "_");
- button.MenuClass = a + b;
- }
- return PartialView(menuOptions);
- }
- return Index_GA_ER(tkn);
- }
Add Comment
Please, Sign In to add comment