title: c# mvc how to call modelpopup using @ajax.actionLink
body: <p>Here i'm trying to using ajax call Without refreshing my page but call modelpopup
  for that i wrorte</p>
  
  <pre><code> @Ajax.ActionLink("CheckOut", "EditMasterDatadetails", "Home", new { Id = _objMaster.Id },
  new AjaxOptions
  {
      HttpMethod = "GET",
      //InsertionMode = InsertionMode.Replace,
      InsertionMode = InsertionMode.InsertAfter,
      UpdateTargetId = "myModal",
      OnBegin = "OpenEditDialog()"
      //OnComplete = "ShowPopup",
      //OnSuccess = "showModal"//"showModal"
  
  }, new {
      @class = "btn btn-primary btn-lg",
      @id = "chkOut"
  })
  </code></pre>
  
  <p>MY Jquery code is</p>
  
  <pre><code>function  OpenEditDialog(){
  $('#MyModel').modal('show');
  }
  </code></pre>
  
  <p>But When i click on Link Even my code is not Reaching upto fun</p>