Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
ASP.NET
<asp:UpdatePanel runat="server" ID="UpId" UpdateMode="Conditional" ChildrenAsTriggers="true">

ASP.NET
<asp:TemplateField HeaderText="Closing Reading" ControlStyle-Width="120px">
                                                                                        <ItemTemplate>
                                                                                            <asp:TextBox ID="txt_closing" runat="server" Text='<%#Eval("closeReading") %>' EnableViewState="true" 
                                                                                                AutoPostBack="True" OnTextChanged="txt_closing_TextChanged"></asp:TextBox>
                                                                                        </ItemTemplate>
                                                                                        <ControlStyle Width="120px" />
                                                                                    </asp:TemplateField>

ASP.NET
</ContentTemplate>                                                                               
                                                                            </asp:UpdatePanel>


What I have tried:

more than 100 value bind gridview, textbox textChanged event correctly run but sometimes only event not firing .....???
Posted
Updated 28-Sep-16 4:28am
Comments
Karthik_Mahalingam 28-Sep-16 1:26am    
try UpdateMode="Always"

1 solution

Setting update panel UpdateMode="Always" will fix your problem.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900