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 |
Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process
1 Answers HCL, Siebel Systems, Visual Soft,
Differences between session state and Application state?
SessionState - type of sessionstate and when and how to use it
Difference between Dataset and DataReader ?
4 Answers Accenture, BirlaSoft, Infosys, Microsoft, Techseol,
Why session is necessary in web application?
What is difference between inproc and outproc?
Give me one example of Web API Routing?
Give a few examples of page life cycle events.
How can I open ashx file in mobile?
Which template must you provide, in order to display data in a Repeater control?
Whats the use of @ Register directives ?
How will create assesblies at run time?