Mvc Dynamic Menu Populating plain text
问题 I have created the N'th level Dynamic Menu recursive method which creates a menu. As seen in above picture the content is returned to ParialView named "_Menu.cshtml" and this Partial View file is empty. and then there is a _LayoutPage.Cshtml <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <div> <div> <input type="text" id="txtSearch" /> <button id="btnSearch">Search</button> </div> <div id="Menu"> @{Html