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 |
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?
How will you do Redo and Undo in a TextControl?
How to bind all the binding controls in a page at once in ASP.NET?
How do you deploy your asp.net application?
What is the difference between session and viewstate in asp.net?
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?
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?
How can you access the properties and controls of master pages from content pages?
What is enableviewstatemac in asp net?
How can we Validate a Controls in ASP.NET page using JavaScript?