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 |
cr8 2 datatables into one dataset DYNAMICALLY (no backend database used like sql,etc.,) with following columns 1st datatable with columns studentNo studentName Deptno 2nd datatable with columns Deptno DeptName DeptAddress add data to both the tables Dynamically and merge these tables into one table and display it in Grid view as studentNo studentName Deptno DeptName DeptAddress
What is web api vs wcf?
How do u declare static variable and how it is declared and what is its lifetime?
Explain some of the major built-in objects in asp.net
Can you edit data in the Repeater control?
What is SQL injection?
what is state management in ASP.NET
can we edit records from repeater control
Describe the difference between inline and code behind.
What is http response header?
can we store textbox and com components in viewstate?
How can we pass info between 2 asp.net pages?
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)