当前位置:MCTS(70-515)题库

问题:

[单选] You create an ASP.NET page named TestPage.aspx that contains validation controls. You need to verify that all input values submitted by the user have been validated by testing the Page.IsValid property. Which page event should you add an event handler to?()

A . Init
B . Load
C . PreInit
D . PreLoad

不遵守课堂纪律和扰乱集体活动的行为,应归于() 过错行为。 品德不良行为。 犯罪行为。 问题行为。 You are implementing an ASP.NET application that uses data-bound GridView controls in multiple pages. You add JavaScript code to periodically update specific types of data items in these GridView controls. You need to ensure that the JavaScript code can locate the HTML elements created for each row in these GridView controls, without needing to be changed if the controls are moved from one page to another. What should you do?() Replace the GridView control with a ListView control.。 Set the ClientIDMode attribute to Predictable in the web.config file.。 Set the ClientIDRowSuffix attribute of each unique GridView control to a different value.。 Set the @ OutputCache directives VaryByControl attribute to the ID of the GridView control.。 You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using the ASP.NET page designer.  You need to add a control to the master page to define the region. Which control should you add?() Content。 ContentPlaceHolder。 PlaceHolder。 Substitutio。 公安机关欲对犯罪嫌疑人甲(男)、被害人乙(女)进行人身检查,下列正确的是() 只有为了确定被害人、犯罪嫌疑人的某些特征、伤害情况或者生理状态,才可以进行人身检查。 对甲进行人身检查,必要时,可以强制进行,对乙的人身检查,不得强制进行。 检查乙的身体,应当由侦查人员、女工作人员或医师进行。 检查乙的身体,应当由侦查人员或者医师进行。 You are implementing an ASP.NET application that includes a page named TestPage.aspx. TestPage.aspx uses a master page named TestMaster.master.You add the following code to the TestPage.aspx code-behind file to read a TestMaster.master public property named CityName. Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadDim s As String = Master.CityNameEnd Sub  You need to ensure that TestPage.aspx can access the CityName property. What should you do?() Add the following directive to TestPage.aspx. <%@ MasterType VirtualPath="~/TestMaster.master" %> 。 Add the following directive to TestPage.aspx. <%@ PreviousPageType VirtualPath="~/TestMaster.master" %> 。 Set the Strict attribute in the @ Master directive of the TestMaster.master page to true. 。 Set the Explicit attribute in the @ Master directive of the TestMaster.master page to true.&e。 You create an ASP.NET page named TestPage.aspx that contains validation controls. You need to verify that all input values submitted by the user have been validated by testing the Page.IsValid property. Which page event should you add an event handler to?()
参考答案:

  参考解析

本题暂无解析

相关题目:

在线 客服