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?.
Answer Posted / swapna
d) Runtime Exception; the control must be set to
runat=?server?.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
IN an ASP.NET Web application if there is any error, how can you debug?
How to create discussion forum in asp.net mvc? : Asp.Net MVC
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
What is a 1x1 pixel?
What is the parent class of all web server control?
What is difference between ispostback and autopostback in asp net?
Explain what the contents of cookie?
What are validators and list some validators of asp.net?
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
What are the advantages and disadvantages of session?
What is session object? Describe in detail.
Give an example of cookie abuse.
Which Is Faster MVC or ASP.net ?