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 is the role of aspx file ?
What are the new features implemented in ASP.NET?
What is an application domain?
What is csrf attack in asp.net?
Explain difference between dataset and datareader?
What is session mode in asp.net?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
What is considered a service provider?
What is the use of @Register directives?
How do you bind array to gridview? Will it works?
What is the difference between application state and caching?
Why session is more secure than cookies?
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)