1. Question: To add an HTML server control to a webpage, you must drag an HTML element from the Toolbox to the webpage and then perform which of the following tasks?

    A
    Add the attribute run="server" to the control element in Source view.

    B
    Double-click the HTML element to convert it to an HTML server control.

    C
    Add the attribute runat="server" to the control element in Source view.

    D
    Select the HTML element in Design view and set the RunAt property to true in the Properties window.

    Note: Not available
    1. Report
  2. Question: You are creating a web form that displays a stock chart. Users can choose from three different sizes for the chart: small, medium, and large. How could you implement the user interface? (Choose all that apply. Each answer forms a complete solution.)

    A
    Add a RadioButtonList control.

    B
    Add three RadioButton controls. Set the GroupName property of all controls to ChartSize.

    C
    Add a CheckBoxList control.

    D
    Add three CheckBox controls. Set the GroupName property of all controls to ChartSize.

    Note: Not available
    1. Report
  3. Question: You are creating a webpage that has several related buttons, such as Fast Forward, Reverse, Play, Stop, and Pause. You want to create a single event handler that processes the postback from these Button controls. Which of the following should you do to handle the event while writing the least amount of code? (Choose all that apply. Each answer forms part of the complete solution.)

    A
    Handle the Button.Command event.

    B
    Handle the Button.Load event.

    C
    Define the Button.CommandName property of all controls to PlaybackControl.

    D
    Define the Button.CommandName property so that each control has a unique value.

    Note: Not available
    1. Report
  4. Question: Which of the following represents the best use of the Table, TableRow, and TableCell controls?

    A
    Creating and populating a table in Design view

    B
    Displaying data from a collection in a grid format

    C
    Creating a table of static images stored in a folder on your site

    D
    Providing layout for dynamically generated controls

    Note: Not available
    1. Report
  5. Question: Your graphics department just completed an elaborate image that shows the product lines that your company sells. Some of the product line graphics are circular, others are rectangular, and others are complex shapes. You want to use this image as a menu on your website. What is the best way to incorporate the image into your website?

    A
    Use ImageButton and use the x-coordinate and y-coordinate that are returned when the user clicks to figure out what product line the user clicked.

    B
    Use the Table, TableRow, and TableCell controls, break the image into pieces that are displayed in the cells, and use the TableCell control’s Click event to identify the product line that was clicked.

    C
    Use the MultiView control and break up the image into pieces that can be displayed in each View control for each product line. Use the Click event of the View to identify the product line that was clicked.

    D
    Use an ImageMap control and define hot spot areas for each of the product lines. Use the PostBackValue to identify the product line that was clicked.

    Note: Not available
    1. Report
  6. Question: You are creating a website that collects a lot of data from your users. The data collection spreads over multiple webpages. When the user reaches the last page, you need to gather all of the data, validate it, and save it to the database. You notice that it can be rather difficult to gather the data that is spread over multiple pages, and you want to simplify the development of this application. What control should you use to solve this problem?

    A
    The View control

    B
    The TextBox control

    C
    The Wizard control

    D
    The Panel control

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