ASP.net MCQs

133 MCQs  — Computer Programming MCQs  (Page 5 of 14)

In order to prevent a browser from caching a page which of these xstatements should be written ?
A. Response.cache.setnoservercaching();
B. Response.cache.setnocaching();
C. Response.cache.setnostore();
D. None of these
We can manage states in asp.net application using________________?
A. Session objects
B. Application objects
C. Viewstate
D. All of the above
To add a custom control to a Web form we have to register with?
A. Name space of the dll that is referenced
B. Assemblyname
C. Tagprefix
D. All of the above
Whats is the significance of Response.ClearHeaders( ) ?
A. Clears all the section value from rendered html file
B. Clears the content of the rendered page
C. Clears all headers from the buffer stream
D. None of the above
What is/are the predefined TraceListener(s) in ASP.Net?
A. Eventlogtracelistener
B. Textwritertracelistener
C. Defaulttracelistener
D. All of the above