title: How to open a modal using Kendo UI grid that has a list inside it
body: <p>I am using Kendo UI in my asp.net mvc project. </p>
  
  <p>I have an issue for displaying modal. In my grid, I want to add an extra column that has a button in it.</p>
  
  <p>When the user clicks that button, I need to show a list from another table that has the ID of the current table, and show it in modal. </p>
  
  <p>I would really appreciate if you could help me.</p>
  
  <pre><code>@(Html.Kendo().Grid&lt;ClinicManagement.Models.Reagent&gt;().Name("PersonGrid")
                              .Name("PersonGrid")
                              .Columns(columns =&gt;
                              {
                                  columns.Bound(p =&gt; p.Name).Filterable(ftb =&gt; ftb.Cell(cell =&gt; cell.Operator("contains").SuggestionOperator(FilterType.Contains))).Width(90);
                                  columns.Bound(p =&gt; p.Family).Filterable(ftb =&gt; ftb.Cell(cell =&gt; cell.Operator("contains").SuggestionOperator(FilterType.Contains))).Width(90);
                                  columns.Bound(p =&gt; p.CardNumber).Filterable(ftb =&gt; ftb.Cell(cell =&gt; cell.Operator("contains").SuggestionOperator(FilterType.Contains))).Width(90);
                                  columns.Command(command =&gt; command.Custom("ViewDetails").Click("showDetails")).Width(150);
                              })
                             .DataSource(dataSource =&gt; dataSource
                                 .Ajax()
                                 .PageSize(20)
                                 .Events(events =&gt; events.Error("error_handler"))
                                 .Sort(sort =&gt; sort.Add(p =&gt; p.Name).Ascending())
                                 .Model(model =&gt; model.Id(p =&gt; p.Id))
                                 .Create(update =&gt; update.Action("Create", "Reagents"))
                                 .Read(read =&gt; read.Action("ReadReagent", "Reagents"))
                                 .Update(update =&gt; update.Action("Edit", "Reagents"))
                                 .Destroy(destroy =&gt; destroy.Action("Delete", "Reagents"))
                    ))
  </code></pre>