ASP NET Questions

Q.  In order to prevent a browser from caching a page which of these xstatements should be written?

a. Response.Cache.SetNoStore();
b. Response.Cache.SetNoServerCaching();
c. Response.Cache.SetNoCaching();
d. None of these


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  If you want to cache the page according to the browser, then what will you do?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  You need to allow users to choose their own themes. In which page event will you write the user-selected theme?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Client-side validation is turned on by default. If you want that particular validation control should not validate at client side, what will you do?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  A button control is located outside the UpdatePanel control. You need that a given button control outside of the UpdatePanel should cause the UpdatePanel to execute an update with partial update. What will you do to achieve this task?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Choose the correct option about the Integrated Security property of connection object.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which is the first event of ASP.NET page, when user requests a web page ?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  There is a button on page name cancel and it should bypass validation when cancel button is clicked. What will you do?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What is the name of the Page object’s property that determines if a Web page is being requested without data being submitted to server?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which one of the following HTTP verbs indicates that you are creating and writing a file on the Web server?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What is/are the advantages of master page?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How will you specifying the Cache Location?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How many types of authentication ASP.NET supports?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which attribute is necessary for HTML control to work as a HTML server control?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  MARS feature is disabled by default. What action you will perform in connection string to enable this feature?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which control can be used to update only the portion of the page?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which is the mandatory property for all validation controls?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which object works on client side in state management system?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How many types of caching ASP.NET supports?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If a user wants to create controls at runtime which event should be used to write code?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How will you add a TextBox control at runtime on the form? Choose the correct one.
Category: Computer Science MCQs,   Published by: T-Code Scripts