ASP NET Questions


Q.  AnUpdatePanel control defined on a page. Button control is placed outside of the UpdatePanel. How to cause the UpdatePanel to execute an update.

a. Set the Trigger attribute of the UpdatePanel to the ID of the Button control.
b. Set the AsyncPostBackTrigger attribute of the Button control to the ID of theUpdatePanel.
c. Place the button control on the update panel without script manager.
d. Add an AsyncPostBackTrigger control to the Triggers section of the UpdatePanel. Set the ControlID attribute of the AsyncPostBackTrigger control to the


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  How do you execute multiple SQL statements using a DataReader?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  When would you typically use an Input parameter? 1. When the parameter value is created based on user input 2. When the parameter is used to send data from the application to the database 3. When the command is set to execute a statement with a WHERE clause 4. When the parameter value is passed to an INSERT statement
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  What are the three primary kinds of parameters?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  How do you determine the actual SQL data type of a SqlParameter (the type expected by the SQL Server)?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which of the following is true?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  If you are using the DataSet and you have to display the data in sorted order what will you do?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  In which Event you can set the value of a Theme?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  You need to initialize some variable only when the first user accesses the application. What should you do?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which of the following template supports by Repeater control?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which of the following works on client side?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which of the following works on server side?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Application_Start event is available in which file?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  You have to log the data into database if your session times out. Which event you will use?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which of the following is true when referencing master page from content page?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  If you are using Webparts in your web page then which control is necessary?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  What component do you need to enable for a user to add new web parts?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which of the following are required to enable users to change the title of web part?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  What is the file extension of web service in ASP.NET?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  If you want to access a web service method, which attribute it must have?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Range Validator control in ASP.NET supports which type?
Category: Computer Science MCQs,   Published by: teswesm