title: ASP.NET MVC - how to make ajax helper replace itself?
body: <p>I have this:</p>
  
  <pre><code>@Ajax.ActionLink("PLUS", "VotePlus", "Forums", new {postId = Model.Id}, new AjaxOptions
      {
          UpdateTargetId = "votePlus",
          InsertionMode = InsertionMode.Replace
      },
      new{@id="votePlus"}
  )
  </code></pre>
  
  <p>It generates link that says "PLUS". Now, i have a controller action that returns null (I also tried with empty partialView with no result). I want this link to disappear when user clicks on it. How can I do that?</p>
  
  <p>Edit: It appears that this whole thing doesn't want to work. I created span tag and wanted it to replace itself, but this ajax helper keeps redirecting me to controller action. :-/</p>