|
ASP.NET web form supports many server controls like Button, TextBox etc. Each
control has associated events. There are three types of server control events.
Postback event
Cached event
Validation event
Postback event
This event sends the page to server for processing. This causes the page a
round-trip to the server.
Cached event
This event stores page data that gets processed when page is submit to the
server by postback event.
Validation event
This event is handled on the page just before the page is posted back to server.
The order of server control events on a Web form is below.
First validations Event occurs just before the page is submitted to the server.
Postback Event occurs that cause the page to be submitted to the server.
Page_Init and Page_Load events are handled.
Cached events are handled.
Lastly, the event that caused the postback is processed.
One of the important goals of ASP.NET 2.0 is 70% code reduction. The data
controls supplied with ASP.NET 2.0 play an important role in making this
ambitious goal a reality. Data source controls provide a consistent and
extensible method for declaratively accessing data from web pages..............
With ASP.NET 2.0, things have changed for the better. For security-related
functionalities, ASP.NET 2.0 introduces a wide range of new
controls..............
In addition to the new controls, ASP.NET 2.0 also provides numerous enhancements
to existing controls that make these controls more versatile than ever before
in building component-based web pages. For example, the Panel control now has a
DefaultButton property that specifies which button should be clicked if the
user presses the Enter key while the panel has the focus.........
Define connected and disconnected data access in ADO.NET | Describe CommandType
property of a SQLCommand in ADO.NET. | Define Dataview component of ADO.NET. |
What are the ways to create connection in ADO.NET? | Access database at runtime
using ADO.NET
What is code security? What are the types? | Define Principal
object. | Define declarative and imperative security. | Define role-based
security. | Explain code access security. | What is Code group? | Define the
use of Caspol.exe.
What is break mode? What are the options to step through
code? | Debug Vs Trace. | Define trace class. Define Listeners collection of
Trace and Debug objects. | Define Trace Switches.
A DataList control is useless without templates. Let us now lern what templates
are, the types of templates, and how to work with them. A template is a
combination of HTML elements, controls, and embedded server controls, and can
be used to customize and manipulate the layout of a control..............
We will explore how to Select, Edit, and Delete data using the DataList
control.............
The Repeater, DataList, and DataGrid controls support event bubbling. What is
event bubbling? Event Bubbling refers to the ability of a control to capture
the events in a child control and bubble up the event to the container whenever
an event occurs........
ASP.NET attempts to make the web development methodology like the GUI
development methodology by allowing developers to build pages made up of
controls similar to a GUI...............
Microsoft has released various web application development methodologies since
the shipment of IIS in Windows. Why do developers need ASP.NET? What problems
does ASP.NET solve that the previous development methodologies did not
solve?............
The truth is that ASP.NET has several issues that need to be
addressed.............
|