Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Html.ActionLink with parameters

@Html.ActionLink(
    "Reply",                                                  // linkText
    "BlogReplyCommentAdd",                                    // actionName
    "Blog",                                                   // controllerName
    new {                                                     // routeValues
        blogPostId = blogPostId, 
        replyblogPostmodel = Model, 
        captchaValid = Model.AddNewComment.DisplayCaptcha 
    },
    null                                                      // htmlAttributes
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #parameters
ADD COMMENT
Topic
Name
3+5 =