I am using MVC4. I am trying to get an html string representation.
ViewEngineResult viewResult = ViewEngines.Engines.FindPartialView(ControllerContext, viewName);
I put the viewname as "create". But returning to viewResult is a null representation and shows SearchedLocartion as well
~/Views/LWWApplication/Create.aspx ~/Views/LWWApplication/Create.ascx ~/Views/Shared/Create.aspx ~/Views/LWWApplication/Create.cshtml ~/Views/Shared/Create.cshtml
Actually the fourth one file (~ / Views / LWWApplication / Create.cshtml) .but returned as not found.View and the controller contains the same folder structure.
Please, help.
source share