macro render partial view but not run through Index method
Hi all, I have created a visual studio solution install umbracocms.core nugget. created model , surface controller and view . Controller Index method get data from third party service and create list of objects (type model i have created )
build the project add dll in umbraco web site bin folder , view in partials (myCodeProject folder) then call macro in RTE.
macro include code to renderPartial my partial view loaded in web page , but I have noticed which not run Index() method
hi guys any one to help me out to sort this problem please..... i tried every single way i could get partial view macro to render my custom view with controller code inherits from sufacecontroller
my code works fine If i call view using template and add Html.Action("actionname" , "controllername") and added the view under /Views/Partials/ section on umbraco.
but when I tried to call it via macro so I dont need to create too many templates on back end this does not work.....
If I call view using RenderPartial from my macro it render view but not execute action so i get blank page.
macro render partial view but not run through Index method
Hi all, I have created a visual studio solution install umbracocms.core nugget. created model , surface controller and view . Controller Index method get data from third party service and create list of objects (type model i have created )
build the project add dll in umbraco web site bin folder , view in partials (myCodeProject folder) then call macro in RTE.
macro include code to renderPartial my partial view loaded in web page , but I have noticed which not run Index() method
what gone wrong here ?
hi guys any one to help me out to sort this problem please..... i tried every single way i could get partial view macro to render my custom view with controller code inherits from sufacecontroller
my code works fine If i call view using template and add Html.Action("actionname" , "controllername") and added the view under /Views/Partials/ section on umbraco.
but when I tried to call it via macro so I dont need to create too many templates on back end this does not work.....
If I call view using RenderPartial from my macro it render view but not execute action so i get blank page.
is working on a reply...