title: Refresh Telerik MVC Grid with Ajax Call, after Success call a Function?
body: <p>I see there are lot of related question in this site. But Still I am not able to make this work for my requirement.</p>
  
  <p>This is my ajax call</p>
  
  <pre><code> $.ajax({
        type: "POST",
        url: "/Medication/StopMedication",
        data: { ID: pid, StopNote: note },
        dataType: "json",
        success: function () {
             refreshGrid()
        }
  });
  </code></pre>
  
  <p>and my refresh grid is like this</p>
  
  <pre><code>  function refreshGrid() {
          alert("I am at Refresh Grid");
          if ($(".t-grid .t-refresh").exists()) {
              $(".t-grid .t-refresh").trigger('click');
          }
      }
  </code></pre>
  
  <p>First of all after success my ajax call is not firing refreshGrid() function.
  can any one help me with this</p>
  
  <p>I found the issue and fixed it:
  <hr />
  <strong>I Made these Changes</strong> </p>
  
  <pre><code> dataType: "text",
    success: function (data) {
         refreshGrid();
    }
  
   function refreshGrid() {
     $(".t-grid .t-refresh").trigger('click');
  }
  </code></pre>