Link to home
Start Free TrialLog in
Avatar of BrianM_AZ
BrianM_AZ

asked on

Update GridView columns after changing column value

Hi Experts,
I'm trying to update other columns when a column (tbQty) is changed by the user. I cannot get the "ontextchanged="tbQty_TextChanged" to fire. What am I missing here?

Thanks for the help

<asp:GridView ID="gvTest" runat="server">
     <Columns>
         <asp:TemplateField>
             <ItemTemplate>
                 <asp:TextBox ID="tbQty" runat="server" OnTextChanged="tbQty_TextChanged"></asp:TextBox>
             </ItemTemplate>
         </asp:TemplateField>
         <asp:BoundField DataField="Price" HeaderText="Price" ReadOnly="true" DataFormatString="{0:c}" />
         <asp:BoundField DataField="Total" HeaderText="Total" ReadOnly="true" DataFormatString="{0:c}" />
      </Columns> 
</asp:GridView>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of bharathbkt
bharathbkt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial