title: GridView EditText and Update Text do not work
body: <p>I'm using ASP.NET 4.0</p>
  
  <p>and here is the HTML code:(GridView)</p>
  
  <pre><code>&lt;asp:commandfield showeditbutton="true"
      edittext="abc"
      canceltext="Discard2"
      updatetext="Revise"
      headertext="Edit Controls"/&gt;
  </code></pre>
  
  <p>No matter what I specify as <code>EditText</code> or <code>updatetext</code> they both always show as "Edit". <code>canceltext</code> shows correctly:</p>
  
  <p><a href="https://i.stack.imgur.com/S1Sjs.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S1Sjs.jpg" alt="enter image description here"></a></p>
  
  <hr>
  
  <p><strong>Update:</strong> My apologies for late update as I got this spaghetti huge code from someone who left:</p>
  
  <p>I have no distant clue why he uses the following code in RowDataBound:</p>
  
  <pre><code>if (theServiceLineIsEditable)
  {
     editLinkButton.Text = "Edit";                            
  }
  else
  {
     editLinkButton.Text = "";
  }
  </code></pre>
  
  <p>This clearly overrides the <code>EditText</code> and <code>updateText</code> behavior.</p>
  
  <p>Can anyone think of any use of that code?</p>