Last post Apr 06, 2017 07:13 AM by AngelinaJolie
Apr 05, 2017 06:41 AM|DevManNZ1981|LINK
I know what is partial view and childActionOnly attribute. But don't know what to use when?
Apr 06, 2017 07:13 AM|AngelinaJolie|LINK
For the partial view , it just like User Control in WebForm ,it means when we need to reuse it in our page .
For example ,
The better example ,please refer to :
ChildActionOnly says it can only be used in View by Html.Action or Html.RenderAction .
And NoAction says it doesn't a Action ,so it can't called via this url(ControllerName/ActionName)