可学答题网 > 问答 > MCPD(70-562)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Certkiller.com has employed


Certkiller.com has employed you as a Web Application Developer. You are in the process ofcreating an ASP.NET application using Microsoft .NET Framework v3.5. You decide to create acustom Web user control for the application.  You name this control TestShare. TestShare will be compiled as a library. The code below iswritten for TestShare. (The line numbers is included for reference purposes) 1 Protected Overloads Overrides Sub OnInit(ByVal e As EventArgs) 2 MyBase.OnInit(e) 3 4 End Sub  The master pages in the application contains the directive below:<%@ Master Language="VB" EnableViewState="false" %> You receive an instruction from management to make sure that the state of TestShare is able tocontinue on the pages that reference a master page. You thus need to determine the appropriatecode that should be added at line 3.  What should you identify?()

  • AYou should consider adding the Page.RegisterRequiresControlState(Me) code fragment.
  • BYou should consider adding the Page.UnregisterRequiresControlState(Me) code fragment.
  • CYou should consider adding the Page.RegisterStartupScript("TestShare", "server") codefragment.
  • DYou should consider adding the Page.RegisterRequiresPostBack(Me) code fragment.
参考答案
参考解析:
分类:MCPD(70-562)题库
相关推荐

1、Certkiller.com has hired&en

Certkiller.com&ensp;has&ensp;hired&ensp;you&ensp;as&ensp;a&ensp;system&ensp;administrator&ensp;for&ensp;their&ensp;network.&ensp;You&ensp;make&ensp;use&ensp;of&ensp;...

2、Certkiller.com has hired&en

Certkiller.com&ensp;has&ensp;hired&ensp;you&ensp;as&ensp;a&ensp;network&ensp;administrator&ensp;for&ensp;their&ensp;network.&ensp;You&ensp;are&ensp;in&ensp;the&ensp;...

3、Certkiller.com runs Window&

Certkiller.com&ensp;runs&ensp;Window&ensp;Server&ensp;2008&ensp;on&ensp;all&ensp;of&ensp;its&ensp;servers.&ensp;It&ensp;has&ensp;a&ensp;single&ensp;Active&ensp;Direc...

4、Exhibit: Certkiller.com servers

Exhibit:Certkiller.com&ensp;servers&ensp;run&ensp;Windows&ensp;Server&ensp;2008.&ensp;It&ensp;has&ensp;a&ensp;single&ensp;Active&ensp;Directory&ensp;domain.&ensp;A&...

5、Certkiller.com has employed

Certkiller.com&ensp;has&ensp;employed&ensp;you&ensp;as&ensp;a&ensp;Web&ensp;Application&ensp;Developer.&ensp;You&ensp;are&ensp;in&ensp;the&ensp;process&ensp;ofcreati...

6、Certkiller.com has installe

Certkiller.com&ensp;has&ensp;installed&ensp;a&ensp;server.&ensp;You&ensp;are&ensp;assigned&ensp;to&ensp;install&ensp;and&ensp;run&ensp;an&ensp;instance&ensp;of&ensp;...