Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I am new in Umbrco and set up a test environment with Umbraco 7. We want to extend it and I have a problem with rendering a partial view when click a link with this settings:
Add Student
And my controller looks like:
[HttpGet]
[UmbracoAuthorize]
public ActionResult Add()
{
return PartialView("~/Views/Partials/AddStudent", new Student());
}
Thanks :)
Hi,
I think the editor messed up your code blocks. Can you try to post them again?
And also what type of controller are you inheriting from : RenderMvc or Surface controller ?
Dave
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Rendering Partial View in main view on click a link
Hello,
I am new in Umbrco and set up a test environment with Umbraco 7. We want to extend it and I have a problem with rendering a partial view when click a link with this settings:
Add Student
And my controller looks like:
[HttpGet]
[UmbracoAuthorize]
public ActionResult Add()
{
return PartialView("~/Views/Partials/AddStudent", new Student());
}
Thanks :)
Hi,
I think the editor messed up your code blocks. Can you try to post them again?
And also what type of controller are you inheriting from : RenderMvc or Surface controller ?
Dave
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.