Answers for "Html.ActionLink with parameters"

1

Html.ActionLink with parameters

@Html.ActionLink(
    "Reply",                                                  // linkText
    "BlogReplyCommentAdd",                                    // actionName
    "Blog",                                                   // controllerName
    new {                                                     // routeValues
        blogPostId = blogPostId, 
        replyblogPostmodel = Model, 
        captchaValid = Model.AddNewComment.DisplayCaptcha 
    },
    null                                                      // htmlAttributes
)
Posted by: Guest on May-29-2020

Code answers related to "Html.ActionLink with parameters"

Browse Popular Code Answers by Language