Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1040095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:10:54+00:00 2026-05-16T15:10:54+00:00

I have the following gridview that is inside an updatepanel: <asp:UpdatePanel ID=UpdatePanel1 runat=server> <ContentTemplate>

  • 0

I have the following gridview that is inside an updatepanel:

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:Button ID="ButtonAdd" runat="server" OnClick="ButtonAdd_Click" Text="Novo Artigo" />
        <asp:GridView ID="Dados" runat="server" AutoGenerateColumns="False" CssClass="Grid">
            <Columns>
                <asp:TemplateField HeaderText="Artigo">
                    <ItemTemplate>
                        <asp:TextBox ID="Artigo" runat="server"></asp:TextBox>
                        <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
                        TargetControlID="Artigo"
                        PopupControlID="PanelArtigos"
                        >
                        </asp:ModalPopupExtender>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Descrição">
                    <ItemTemplate>
                        <asp:TextBox ID="Descricao" runat="server" Width="300px"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="IVA">
                    <ItemTemplate>
                        <asp:TextBox ID="IVA" runat="server" Width="40px" Enabled="false"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Pr. Unit.">
                    <ItemTemplate>
                        <asp:TextBox ID="PU" runat="server" Width="50px"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="% Desc.">
                    <ItemTemplate>
                        <asp:TextBox ID="Desconto" runat="server"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="UN">
                    <ItemTemplate>
                        <asp:TextBox ID="UN" runat="server" Width="50px" Enabled="false"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Quant.">
                    <ItemTemplate>
                        <asp:TextBox ID="Quantidade" runat="server" Width="50px"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Total Liquido">
                    <ItemTemplate>
                        <asp:TextBox ID="TotalLiquido" runat="server" Enabled="false"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:LinkButton ID="RemoveArtigo" runat="server" OnClick="RemoveArtigo_Click">Remover
                        </asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <HeaderStyle Font-Size="Small" />
            <RowStyle Font-Size="Small" CssClass="grid" />
        </asp:GridView>
    </ContentTemplate>
</asp:UpdatePanel>

As you can see, i have some textbox’s.

When i change a value in a textbox, for example, the Desconto value, and leave that textbox, i want that the row where i am to be updated, using the new value present in the textbox. It’s like a TextChanged or onBlur, but inside the update panel it’s not working.

what is the best way to do it?

I am using VB.NET.

Thank you.

EDIT:

When adding the OnTextChanged=”Desconto_TextChanged” i receive this compilation error:

Compilation Error Description: An
error occurred during the compilation
of a resource required to service this
request. Please review the following
specific error details and modify your
source code appropriately.

Compiler Error Message: BC30456:
‘Desconto_TextChanged’ is not a member
of ‘ASP.index_aspx’.

Source Error:

Line 204:
Line 205:
Line 206:
Line 207:
Line 208:

Source File:
C:\inetpub\wwwroot\Facturas\Facturas\index.aspx
Line: 206

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:10:55+00:00Added an answer on May 16, 2026 at 3:10 pm

    TextBox controls will not initiate a postback by default. you can set AutoPostBack to true for each textbox control.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a gridview inside of a div that is displayed with ajax. I
In a gridview I have the following Template Field containing a textbox <asp:TemplateField ShowHeader=true
I have a DataRepeater with a GridView inside to display some tables from a
I had a simple working (ASP.NET) Scenario here: 3 asp:RadioButtons that each have OnCheckedChanged
I have a Gridview that I want to filter. My gridview is in an
I have the following GridView : <ListView Name=TrackListView ItemContainerStyle={StaticResource itemstyle}> <ListView.View> <GridView> <GridViewColumn Header=Title
Evening all. I have the following code that I need looking into - basically
I have a gridview that is inflated by multiple buttons. I used just a
I have a page with a gridview that is populated from a sql. The
I have the following code in my project, deleteselector is a form that has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.