Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what is autopostback in asp.net
Posted

Autopostback property is a boolean property by default it is false.

If we set autopostback property to true of any control then after processing on any control a request (postback) is send to the server.

eg. if autopostback of dropdownlist is true then after changing the index the event selected index changing triggers and request is send to the server.
 
Share this answer
 
The AutoPostBack property is used to set or return whether or not an automatic post back occurs when the user presses "ENTER" or "TAB" in the TextBox control. If this property is set to TRUE the automatic post back is enabled, otherwise FALSE. Default is FALSE.
 
Share this answer
 
v2
ex
<asp:TextBox ID="txtPassword" AutoPostBack="True" runat="server">
 
Share this answer
 

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