athira k

athira k

  • NA
  • 140
  • 53.5k

how to get popup form with data on clicking on link in mvc

Jul 25 2017 5:25 AM
I am doing a project in mvc and in that I have created a table. It works fine and what I need to get is that on one row I have given a link . On clicking on that link I have to get a popup form with the data same as that particular column.
 
in my view Students.cshtml
 
<tr>
   <td style="text-align: center;">
      @item.slNo
   </td>
   <td style="text-align: center;">
      @item.Name
   </td>
   <td style="text-align: center;">
      @item.div
   </td>
   <td style="text-align: center;">
      <a href="@Url.Action("Home", "Admin", new { id = @item.ID})">
      <i class="fa fa-plus-circle" aria-hidden="true"></i>
      </a>
   </td>
   </tr> 
 
Here My problem is, how can I get the popup form with the data of the students.cshtml form to the popup form. That is, the Sl.No, Name and div on that pop up form. 
Can anyone please help me find a solution for this ?? 
 

Answers (3)