title: How do I Pass Selected items from one page to another page in asp.net mvc
body: <p>In my index page, i have multiple checkboxes that can be selected:</p>
  
  <pre class="lang-cs prettyprint-override"><code>@foreach (var item in Model) {
      &lt;tr&gt;
          &lt;td class ="text-nowrap"&gt;
              &lt;input class="chkSelect" type="checkbox" name="Selected" value="@item.Id"&gt;
          &lt;/td&gt; 
          &lt;td&gt;                
              @Html.ValueFor(modelItem =&gt; item.trandate, "{0:dd/MM/yyyy}")
          &lt;/td&gt;
          &lt;td&gt;
              @Html.ActionLink("Edit", "Edit", new { id=item.Id })            
          &lt;/td&gt;
      &lt;/tr&gt;
  }
  </code></pre>
  
  <p>I need to get the selected items and pass them to another form/page /action where i want to use the ids of the selected item to perform other actions.
  How do i pass the selected items to the controller action of the other page ?</p>
  
  <p>so , now i created <code>public ActionResult SendSMS(string[] msisdn)
          {
  return View();
          }</code>
  and </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>@using (Html.BeginForm("SendSMS", "Subscribers", FormMethod.Post))
  {
      &lt;div class="form-group"&gt;
          &lt;a href="@Url.Action("SendSMS", "Subscriber", new { msisdn = Request["Selected"] })"&gt;   &lt;span class="btn btn-primary"&gt; &lt;i class="fa fa-envelope"&gt;&lt;/i&gt; Send SMS&lt;/span&gt;  &lt;/a&gt;
      &lt;/div&gt;
  
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>So, will Request["Selected"] hold all the selected items? it appears null when debugging.</p>