When to Use AutoPostBack ? [Resolved]

Posted by Amatya under ASP.NET AJAX on 5/19/2015 | Points: 10 | Views : 1650 | Status : [Member] | Replies : 3
Guys.. Please let me know that when the developer should use AutoPostBack in ASP .Net..Clarify this term
Thanks

Feel free to share informations.
mail Id ' adityagupta200@gmail.com
Thanks



Responses

Posted by: Jayakumars on: 5/20/2015 [Member] [MVP] Bronze | Points: 50

Up
0
Down

Resolved
Hi
When to use Auto Postback your control action need to server side for ex: when we enter the textbox show the messagebox using autopost=true like this



<asp:TextBox ID="txtSno" runat="server" MaxLength="15" Text="" Width="50%" AutoPostBack="true" OnTextChanged ="txtSno_TextChanged" />

<asp:DropDownList ID="drp1" runat ="server" AutoPostBack ="true" OnSelectedIndexChanged="drp1_SelectedIndexChanged">
</asp:DropDownList>

Mark as Answer if its helpful to you

Kumaraspcode2009@gmail.com

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shreedar on: 8/22/2015 [Member] Starter | Points: 50

Up
0
Down

Resolved
Hi

Autopostback is the mechanism, by which the
page will be posted back to the server automatically.
In case of Button click event, in case of Check box
CheckChangedEvent is there. So in case of
AutoPostBack true these events are called by
default and event handle at server side.

Regards

Sridhar Thota.
www.dotnet-sridhar.blogspot.com

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Georgoy56 on: 8/22/2015 [Member] Starter | Points: 25

Up
0
Down
For typical customer controls, (for example, a rundown control with AutoPostBack set to false), when a client picks a thing in the rundown, the program does not speak with the server. There's no system movement and no deferral for your client before they see the aftereffects of the decision, but on the other hand there's no chance to do anything in your server code, as figure ward values. On the off chance that you need to do anything to the screen in light of the decision, you need to utilize a customer side script from the help of ( cheapessaywritingservice.us/ ) write my paper for cheap .

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response