1. Question: Which of the following statements about referencing master page methods andproperties is true? (Choose all that apply.) [Textbook-70-515]

    A
    Content pages can reference private properties in the master page.

    B
    Content pages can reference public properties in the master page.

    C
    Content pages can reference public methods in the master page.

    D
    Content pages can reference controls in the master page.

    Note: Not available
    1. Report
  2. Question: You are converting an existing web application to use master pages. To maintain compatibility,you need to read properties from the master page. Which of the followingchanges are you required to make to ASPX pages to enable them to work with a masterpage? (Choose all that apply.) [Textbook-70-515]

    A
    Add an @ MasterType declaration.

    B
    Add an @ Master declaration.

    C
    Add a MasterPageFile attribute to the @ Page declaration.

    D
    Add a ContentPlaceHolder control.

    Note: Not available
    1. Report
  3. Question: You need to change the master page of a content page at run time. In which pageevent should you implement the dynamic changing? [Textbook-70-515]

    A
    Page_Load

    B
    Page_Render

    C
    Page_PreRender

    D
    Page_PreInit

    Note: Not available
    1. Report
  4. Question: You need to change the master page of a content page at run time. In which pageevent should you implement the dynamic changing? [Textbook-70-515]

    A
    Page_Load

    B
    Page_Render

    C
    Page_PreRender

    D
    Page_PreInit

    Note: Not available
    1. Report
  5. Question: Which of the following theme applications will override an attribute that you specifieddirectly on a control? (Choose all that apply.) [Textbook-70-515]

    A
    A theme specified by using @ Page Theme=”MyTheme”

    B
    A theme specified by using @ Page StyleSheetTheme=”MyTheme”

    C
    A <pages Theme=”themeName”> element in the Web.config file

    D
    A <pages StyleSheetTheme=”themeName”> element in the Web.config file

    Note: Not available
    1. Report
  6. Question: Which of the following is a valid skin definition inside a skin file? [Textbook-70-515]

    A
    <asp:Label ID="Label1" BackColor="#FFE0C0" ForeColor="Red" Text="Label"></ asp:Label>

    B
    <asp:Label ID="Label1" runat="server" BackColor="#FFE0C0" ForeColor="Red" Text="Label"></asp:Label>

    C
    <asp:Label runat="server" BackColor="#FFE0C0" ForeColor="Red"></asp:Label>

    D
    <asp:Label BackColor="#FFE0C0" ForeColor="Red"></asp:Label>

    Note: Not available
    1. Report
  7. Question: You need to allow users to choose their own themes. In which page event should youspecify the user-selected theme? [Textbook-70-515]

    A
    Page_Load

    B
    Page_Render

    C
    Page_PreRender

    D
    Page_PreInit

    Note: Not available
    1. Report
  8. Question: You are creating an ASP.NET webpage that displays a list of customers generated bya database query. The user can filter the list so that only customers within a specificstate are displayed. You want to maximize the performance of your web applicationby using page output caching. You want to ensure that users can filter by state, butyou are not concerned about displaying updates to the list of customers becausethe customer list doesnt change very frequently. Which declarative @ OutputCacheattribute should you configure? [Textbook-70-515]

    A
    VaryByParam

    B
    VaryByHeader

    C
    SqlDependency

    D
    VaryByCustom

    Note: Not available
    1. Report
  9. Question: You need to programmatically configure page output caching. Which objectwould you use? [Textbook-70-515]

    A
    Request

    B
    Response

    C
    Application

    D
    Server

    Note: Not available
    1. Report
  10. Question: You want to cache an object but have it automatically expire in 10 minutes. Howcan you do this? [Textbook-70-515]

    A
    Directly define the Cache item.

    B
    Call Cache.Get.

    C
    Call Cache.Insert.

    D
    Cast DateTime.Now.AddMinutes(10) to the Cache type.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd