题目内容

You work as a Web Application Developer at Certkiller.com. You make use of .NET Frameworkv3.5 to create an ASP.NET application. You decide to create a Web user control named KingShare. KingShare is compiled as a library.The code segment below is written for KingShare. (The line numbers is included for reference purposes) 1 protected override void OnInit(EventArgs e) 2 { 3 base.OnInit(e); 4 5 } The master pages in the application contains the EnableViewState="false" %> directive. You receive an instruction from the network administratorto make sure that the KingShare state is able to persist on the pages that reference the masterpage. You should thus identify the appropriate code segment you need to add to line 4 to achievethis. What should you do?()

A. Your best option would be to insert Page.RegisterRequiresPostBack(this)
B. Your best option would be to insert Page.RegisterRequiresControlState(this)
C. Your best option would be to insert Page.UnregisterRequiresControlState(this)
D. Your best option would be to insert Page.RegisterStartupScript("KingShare","server")

查看答案
更多问题

因为科研活动更多地表现为一种生产公共产品的活动,比如大学、科研机构等获得的科技创新成果,从产权上来讲,应该属于()所有。

A. 集体
B. 个人
C. 科研机构
D. 国家

心源性哮喘为什么首选吗啡?

真爱的前提是真正的理解。

A. 正确
B. 错误

下列法律中,属于经济法的是()。

A. 标准化法
B. 招标投标法
C. 物权法
D. 建筑法

答案查题题库