nerdexam
Microsoft

70-515 · Question #132

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application using…

The correct answer is B. Use the RegisterClientScriptBlock method. D. Build a JavaScript function. See the full explanation below for the reasoning.

Question

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application using .NET Framework 4.0. The application holds a Web page named MyHome.aspx. You are creating a button with a rolloverimage on MyHome.aspx. However, when mouse hovered over the button image, the rolloverimage is retrieved from the server in a separate request. You need to use an improved rollover button in which the button‘s rolloverimage is already downloaded and stored in the browser's cache, as a result when you hover over the button, it is instantly displayed. What will you do to accomplish this? (Each correct answer represents a part of the solution. Choose two.)

Options

  • AUse JavaScript Object Notation.
  • BUse the RegisterClientScriptBlock method.
  • CUse the RegisterClientScriptlnclude method.
  • DBuild a JavaScript function.
  • EUse the RegisterClientScriptResource method.

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    78% (18)
  • C
    4% (1)
  • E
    13% (3)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice