<% if(FootToolNavMenuList != null){ %> <% foreach(NavMenu menu in FootToolNavMenuList){ %> <% if(menu.ChildMenuList != null && menu.ChildMenuList.Count > 0){ %> <% } %> <% } %> <% } %>