Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • DesiG 1 post 50 karma points
    Oct 06, 2014 @ 17:22
    DesiG
    0

    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 :)

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Oct 06, 2014 @ 18:01
    Dave Woestenborghs
    0

    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

  • 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.

Please Sign in or register to post replies