title: How to call Parent Gridview's item Id by Nested GridView's Content
body: <p>I want to  call the parents source's PkId on nested Column as  nestgrd.Column("Qty", format: (item) => Html.ActionLink((string)item.Product.ToString(), "FreeGiftQuantityViews", new { id = item.PkId } but I am not able to calling . How can i call  new { id = item.PkId } as new {id= pkglist.item.PkId}</p>
  
  <pre><code>&lt;div id="lgrid" class="tablesorter"&gt;
      @{
  
          var grid = new WebGrid(Model.pkglist, rowsPerPage: 10, canSort: false, canPage: false, ajaxUpdateContainerId: "lgrid");
  
      }
  
  @grid.GetHtml(
      tableStyle: "lgrid",
      headerStyle: "head",
      alternatingRowStyle: "alt",
      columns: grid.Columns(
      grid.Column("S.N.", format: @&lt;text&gt;@{count++;}@count&lt;/text&gt;, style: "sn"),
      grid.Column("PkId", format: @&lt;text&gt;@item.PkId&lt;/text&gt;),
      grid.Column("Package Name", format: @&lt;text&gt;@item.PackageName&lt;/text&gt;),
      grid.Column("Product", format: @&lt;text&gt;@item.Product&lt;/text&gt;),
      grid.Column("Access", format: @&lt;text&gt;@item.Access&lt;/text&gt;),
      grid.Column("Rate", format: @&lt;text&gt;@item.Rate&lt;/text&gt;),
      grid.Column("Remarks", format: @&lt;text&gt;@item.Remarks&lt;/text&gt;),
      grid.Column("Edit", format: (item) =&gt; Html.ActionLink("Edit", "EditPackage", new { id = item.PkId }, new { @class = "openDialog", data_dialog_id = "emailDialog", data_dialog_title = "Edit" })),
      grid.Column("Delete", format: (item) =&gt; Html.ActionLink("Delete", "DeletePackage", new { id = item.PkId }, new { @class = "openDialog", data_dialog_id = "emailDialog", data_dialog_title = "Delete" })),
      grid.Column("Free Package Lists", format: row =&gt;
          {
              WebGrid nestgrd = new WebGrid(row.plsst);
              return nestgrd.GetHtml(
                  columns: nestgrd.Columns(
                      nestgrd.Column("FreePackageDetails", format: (item) =&gt; Html.ActionLink((string)item.Product.ToString(), "FreePackageDetails", new { id = item.PkId }, new { @class = "openDialog", data_dialog_id = "EmailDialog", data_dialog_title = "Details" })),
                      nestgrd.Column("Free Gift", format: (item) =&gt; Html.ActionLink((string)item.Product.ToString(), "FreeGiftViews", new { id = item.PkId }, new { @class = "openDialog", data_dialog_id = "EmailDialog", data_dialog_title = "Details" })),
                      nestgrd.Column("Qty", format: (item) =&gt; Html.ActionLink((string)item.Product.ToString(), "FreeGiftQuantityViews", new { id = item.PkId }, new { @class = "openDialog", data_dialog_id = "EmailDialog", data_dialog_title = "Details" }))
  
  
                  ),
                  displayHeader: false
              );
          })
                                                                                                                            ))
  &lt;/div&gt;
  </code></pre>