title: @Html.Hidden get and set values razor mvc 4
body: <p>@foreach (var commentlist in Model.Comments.Where(x => x.CommentParentID == 0))
                      {</p>
  
  <pre><code>                    &lt;div class="blog-comment"&gt;
                          &lt;div class="comment-info"&gt;
                              &lt;div class="user-info"&gt;
                                  @if (commentlist.AllowViewingProfiles)
                                  {
                                      &lt;a href="@Url.RouteUrl("CustomerProfile", new { id = commentlist.CustomerId })" class="username"&gt;@(commentlist.CustomerName)&lt;/a&gt;
                                  }
                                  else
                                  {
                                      &lt;span class="username"&gt;@(commentlist.CustomerName)&lt;/span&gt;
                                  }
                                  &lt;div class="avatar"&gt;
                                      @if (!String.IsNullOrEmpty(commentlist.CustomerAvatarUrl))
                                      {
                                          &lt;img src="@(commentlist.CustomerAvatarUrl)" class="avatar-img" title="avatar" alt="avatar" /&gt;
                                      }
                                  &lt;/div&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="comment-content"&gt;
                              &lt;div class="comment-time"&gt;
                                  @T("Blog.Comments.CreatedOn"): &lt;span class="stat-value"&gt;@commentlist.CreatedOn.ToString("g")&lt;/span&gt;
                                  &lt;div class="buttons"&gt;
                                      &lt;input type="submit" id="reply" class="button-1 blog-post-add-comment-button" onclick="return showHide();" /&gt;
                                      @Html.Hidden("CommentParentID",@commentlist.Id)
                                  &lt;/div&gt;
                              &lt;/div&gt;
                              &lt;div class="comment-body"&gt;
                                  @Html.Raw(Nop.Core.Html.HtmlHelper.FormatText(commentlist.CommentText, false, true, false, false, false, false))
                              &lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="clear"&gt;
                          &lt;/div&gt;
  }
  </code></pre>
  
  <p>I am using @Html.Hidden("CommentParentID",@commentlist.Id) to set value CommentParentID for ChildComment if any.</p>
  
  <p>In  below action i want to pass CommentParentID as parameter.</p>
  
  <pre><code> @Html.ActionLink("Reply", "BlogCommentReply", "Blog", new { blogPostId = blogPostId, CommentParentID=CommentParentID,captchaValid = Model.AddNewComment.DisplayCaptcha }, null)
  </code></pre>
  
  <p>How i can retrieve this hidden field value in Controller?
  Or How i can pass that value?</p>