When an ASP.NET server control is added to a web form,
Visual Studio .NET adds one item to the class for the form.
What item is added?

a) The event registration.
b) A protected class member for the control.
c) A default event handler for the click event.
d) A default class that inherits from the control?s base class.

Answers were Sorted based on User's Feedback



When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the clas..

Answer / farah

b) A protected class member for the control

Is This Answer Correct ?    42 Yes 2 No

When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the clas..

Answer / tarun

d) A default class that inherits from the control?s
base class

Is This Answer Correct ?    8 Yes 5 No

When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the clas..

Answer / anjani

c) A default event handler for the click event.

Is This Answer Correct ?    8 Yes 7 No

When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the clas..

Answer / asha

C

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is Hybrid dictionary

1 Answers  


Interface and Abstract class, inheritance, abstraction with examples. Polymorphism (difference betn overloading and overriding

2 Answers   Syntel,


What is the flow of processing of the request? : asp.net mvc

1 Answers  


What are the different methods that are used during the page load?

1 Answers   Siebel,


Give 2 examples for scenarios when routing is not applied?

1 Answers   NA,


I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'

2 Answers  


What is boxing? How we can use it?

4 Answers   Infosys, NIIT,


Why is this service branded with windows livetm?

1 Answers  


Differences between VB.Net and C#, related to OOPS concepts

5 Answers   CSC,


what is .net

15 Answers   Net Solution,


What is a postback ispostback and autopostback in asp net?

1 Answers  


1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????

7 Answers   Sparsh,


Categories