whats the purpose of AUTOPOSTBACK property for the controls
in asp.net?

Answers were Sorted based on User's Feedback



whats the purpose of AUTOPOSTBACK property for the controls in asp.net?..

Answer / .net guru

In classic ASP, postback could be triggered by clicking a
button. ASP.NET provides property to the web controls to
trigger a postback on certain events like checkbox/radio
button .. checked/unchecked etc. This gives a lot of
flexibility to the developer to handle the event on server
side.

Is This Answer Correct ?    10 Yes 1 No

whats the purpose of AUTOPOSTBACK property for the controls in asp.net?..

Answer / waqas ahmed (http://www.themav

It allows you to control and change dependent fields in the
web form.

for example: if i have a dropdown of states and another
dropdown of cities with reference to the state, i want to
change the cities listitems when the user changes the state,
i would use autopostback property (good alternate is ajax
dropdown extender) and it will refresh my page by using
onselectedindex_changed property with my desired cities list
which is on the basis of the state selected.

Is This Answer Correct ?    7 Yes 1 No

whats the purpose of AUTOPOSTBACK property for the controls in asp.net?..

Answer / kinjal panchal

basically using AUTOPOSTBACK u can refresh your page.
like if u set true your dropdown autopostback then its again
hit page load and u creat another output for this.

Is This Answer Correct ?    2 Yes 2 No

whats the purpose of AUTOPOSTBACK property for the controls in asp.net?..

Answer / gopathi vamseedhar

BY this property making as true ,then the control make a request to the server

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

One Listbox showing all cities. If you select one city in list box the information related to that particular city should be displayed in Datagrid . How do you do that?

3 Answers   HCL,


How will you do Redo and Undo in a TextControl?

0 Answers  


How to bind all the binding controls in a page at once in ASP.NET?

0 Answers   Viscus Infotech,


How do you deploy your asp.net application?

0 Answers  


What is the difference between session and viewstate in asp.net?

0 Answers  






What is the difference between User Controls and Master Pages

22 Answers   Deloitte, IBM, IntraLogic, Markit, TCS,


How to disable validator control by client side JavaScript?

0 Answers  


What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.

4 Answers   ABC, Syntax Softtech, TCS,


How many classes can a single .NET DLL contain?

2 Answers  


How can you access the properties and controls of master pages from content pages?

0 Answers  


What is enableviewstatemac in asp net?

0 Answers  


How can we Validate a Controls in ASP.NET page using JavaScript?

0 Answers   QuestPond,


Categories