At other times in the past I posted inquiries on here about why TextBox TextChanged events were firing twice successively. I added special code to trap for this but never understood why it was happening.
Today I noticed something interesting on one of my web pages. The header line was quite typical:
<%@ Page Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="userManager.aspx.cs" Inherits="userManager" %>
Then on some of my textboxes I noticed that AutoPostBack="true" was present whereas on others it was not. Removing this setting for each textbox immediately cleared up the problem!
I don't know how this slipped past me until now but I am curious about something: "Under the Hood", what precisely happens when AutoEventWireup="true" and a textbox's AutoPostBack="true" ???
Are two identica ...
Go to the complete details ...