title: How to auto refresh a partial view?
body: <p>How to auto refresh a partial view? </p>
  
  <pre><code>public PartialViewResult Chat(string people)
      {
          if (User.Identity.IsAuthenticated)
          {
              var model = new MessageVM()
              {                          
                  realReceiver = people,              
                  messageList = db.messages.Where(x =&gt; x.sender == User.Identity.Name || x.sender == people).ToList().Take(30)
              };
              return PartialView("_Chat", model);
  </code></pre>
  
  <p>How to auto refresh this partialview</p>