Hi, I want to show data in grid function is calling but not show in the grid. I debug the code I can see the id value when the cursor reaches the $.ajax then directly go to the end of brackets, I don't know what is a problem any expert can you tell where I am wrong.
 
 
C# Function
  1. public JsonResult GetProduct_Detail(int id)  
  2.    {  
  3.        var resultProdD = _IProducts.GetProductByID(id);  
  4.        return Json(resultProdD,JsonRequestBehavior.AllowGet);  
  5.    }  
 Master  Grid 
  1. <div class="row">  
  2.                        <div class="col-md-12">  
  3.                            <div class="panel widget">  
  4.                                <div class="panel-heading">  
  5.                                     
  6.                                div>  
  7.                                <div class="panel-body-list  table-responsive">  
  8.                                    <table class="table table-striped table-hover no-head-border">  
  9.                                        <thead class="vd_bg-grey vd_white">  
  10.                                            <tr>  
  11.                                                <th>#th>  
  12.                                                <th>Nameth>  
  13.                                                <th>Modelth>  
  14.                                                <th>Conditionth>  
  15.                                                <th>UnitPriceth>  
  16.                                                <th>Mani Priceth>  
  17.                                                <th>Discountth>  
  18.                                                <th>Weightth>  
  19.                                                <th>Actionth>  
  20.                                            tr>  
  21.                                        thead>  
  22.                                        <tbody>  
  23.                                            @foreach (var item in Model)  
  24.                                            {  
  25.                                                <tr>  
  26.                                                    <td>@item.ProductIDtd>  
  27.                                                  
  28.                                                    <td>@item.PNametd>  
  29.                                            
  30.                                                    <td>@item.Modeltd>  
  31.   
  32.                                                    <td>@item.Conditiontd>  
  33.                                       
  34.                                                    <td>@item.ManificturedPricetd>  
  35.   
  36.                                                    <td>@item.Discounttd>  
  37.   
  38.                                                    <td>@item.UnitWeighttd>  
  39.                                        
  40.                                                    <td>@item.UnitInStocktd>  
  41.                                                     
  42.                                                    <td class="menu-action">  
  43.                                                     <a href="javascript:void(0);" class="btn menu-icon vd_bd-grey vd_grey" data-original-title="view" data-toggle="tooltip" data-placement="top" data-id="@item.ProductID"><i class="fa fa-eye">i> a>   
  44.                                                        <a href="~/Items/[email protected]" class=" anchorDetail btn menu-icon vd_bd-grey vd_grey" data-original-title="view" data-toggle="tooltip" data-placement="top" data-id=""><i class="fa fa-pencil">i> a>    
  45.                                                        <a href="javascript:void(0);" class="btn menu-icon vd_bd-grey vd_grey" data-original-title="view" data-toggle="tooltip" data-placement="top" data-id="@item.ProductID"><i class="fa fa-times">i> a>    
  46.                                                    td>  
  47.                                                tr>  
  48.                                            }  
  49.                                              
  50.                                        tbody>  
  51.                                    table>  
  52.                                div>  
  53.                            div>  
Jquery Function