title: GridView AutoPostBack
body: <p>I have a textbox that is disabled when a dropdownlist is set to one value (<strong>A</strong>) and enabled when it's set to another (<strong>B</strong>). While in Edit Mode, if the textbox is <strong>disabled (dropdownlist value is A)</strong> and the value of the of the dropdownlist is changed to <strong>B</strong>, how can I get the textbox to become enabled?</p>
  
  <p>ASP .NET code that disables textbox:</p>
  
  <pre><code>            &lt;EditItemTemplate&gt;
                  &lt;asp:TextBox ID="TextBox5" runat="server" Text='&lt;%# Bind("GRP") %&gt;' MaxLength = "10" 
                      Enabled = '&lt;%# !Eval("GRP_NM").ToString().Equals("A") %&gt;' Height="19px" 
                      Width="70px" AutoPostBack="True"&gt;&lt;/asp:TextBox&gt;
              &lt;/EditItemTemplate&gt;
  </code></pre>