whats the purpose of AUTOPOSTBACK property for the controls
in asp.net?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
BY this property making as true ,then the control make a request to the server
| Is This Answer Correct ? | 1 Yes | 1 No |
What's a bubbled event?
What’s the difference between response .redirect and server.transfer?
Explain significance of routing? : asp.net mvc
What is meant by ispostback in asp net?
What are various authentication mechanisms in ASP.NET ?
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
How is session id generated?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
What are the page level transaction and class level transaction?
Are xaml file compiled or built on runtime?
What is advantage of asp.net?
How do you turn off cookies for one page in your site?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)