What is the result when the Web Form containing the
following line is complied and executed?
<asp:Button id=?thebutton? onClick=?theEvent? />

a) The button control is created; theEvent is the click
event handler.
b) Compiler error; the control must be set to runat=?server?.
c) Compiler error; onClick is not a valid attribute.
d) Runtime Exception; the control must be set to runat=?server?.

Answers were Sorted based on User's Feedback



What is the result when the Web Form containing the following line is complied and executed? &..

Answer / abbaas

c

Is This Answer Correct ?    2 Yes 0 No

What is the result when the Web Form containing the following line is complied and executed? &..

Answer / swapna

d) Runtime Exception; the control must be set to
runat=?server?.

Is This Answer Correct ?    2 Yes 2 No

What is the result when the Web Form containing the following line is complied and executed? &..

Answer / niraj pandey

b)Compiler error; the control must be set to runat=?server?.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the use of data set in asp.net?

0 Answers  


What is enableviewstatemac in asp net?

0 Answers  


What is the difference between Debug.Write and Trace.Write? When should each be used?

2 Answers   Infosys,


What is the difference between a Stored procedure and function?

9 Answers  


How to remove cache object in asp.net?

2 Answers   TVS,






What is the main difference between Asp.net and Vb.net?

0 Answers  


Why do we need Sessions?

0 Answers   QuestPond,


How to merge 2 tables fields in DataTable in asp.net

6 Answers   Wipro,


What is the purpose of each of the validation controls provided by ASP.NET?

1 Answers  


Where is ViewState information stored?

18 Answers   DSRC, HCL,


How can we do the client side validation and Server side validations? But i told that At client side by with the help of validations control or by javascript? But I dont know about the Server side controls Explain?

5 Answers   iSoft, TCS,


how to elimainte the similar data from the different tables

0 Answers  


Categories