Home

What is the correct answer?

4

You need to modify an ASP.NET page to prevent the browser window from going blank after a postback and to maintain the correct control focus after events are processed. What should you do?

A. Add the following attribute to the HTML code for the controls that cause the postbacks:
RunAt="client"

B. Add the following attribute to the HTML code for the controls that cause the postbacks:
EnableViewState="True"

C. Add the following attribute to the Page directive for the aspx file:
SmartNavigation="True"

D. Add the following attribute to the OutputCache directive for the aspx file:
Location="client

Correct Answer :

C. Add the following attribute to the Page directive for the aspx file:
SmartNavigation="True"


Related Questions

To write a root tag say '<details>' through ASP.NET use ____________ enables you to add, modify and delete records and you will… In case of a CompareValidator, a TextBox's value can be compared to an… While redirecting, values can be passed with it For Adrotator control the XML file is mentioned through ________ property _________ object represents all information sent form a browser to a server Of the following controls which can be used to add a control at runtime File extension used for ASP.NET files. To read an XML file from ASP.NET use ASP.NET uses _______ as the code behind The default method of a WebForm is In ___________ records are locked when you start editing. CDO stands for _________________ . In case of RangeValidator, a TextBox's value can be compared to the values… Anything appearing before ________ is cleared You have an image that is clickable and you want a pop-up window to display… ______________ creates a read-only recordset that can scroll in any direction. This property is inapplicable in DropDownList You want to ensure that the user ID is saved between requests when the… We can write an XML document from ASP.NET without mentioning the encoding… A _____________ is a logical naming scheme for grouping related types… The HTML control that helps to browse a file is ____________ enables you to set a particular date when a page should no… HTML elements, HTML server controls and ASP.NET server controls can be… What are unique properties of RangeValidator control? What class does a Web Service Inherit? In ___________ records are locked when the update method is called We can manage states in asp.net application using Default path for any web application is Checkboxes have same name and different values while Radio Buttons have…