In the Design view in Visual Studio 2005 of an ASP.NET web page, what is the easiest way to create an event handler for the default event of a ASP.NET server control?

Options
- Open the code-behind page and write the code.
- Right-click the control and select Create Handler.
- Drag an event handler from the ToolBox to the desired control.
- Double-click the control.


CORRECT ANSWER : Double-click the control.

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement