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 3504 posts 12135 karma points MVP 9x 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

Please Sign in or register to post replies

Write your reply to:

Draft