网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
2、下列不属于ASP.NET中的page对象的是()
A.IsPostBack
B.IsValid
C.Form
D.PostForm
参考答案和解析
PostForm
更多 “2、下列不属于ASP.NET中的page对象的是()A.IsPostBackB.IsValidC.FormD.PostForm” 相关考题
考题
关于Page类,说法错误的是:( )
A、在Page类中已经定义了网页所需要的基本属性、事件和方法B、Web窗体是派生自Page类的对象C、Page类有一些内置对象D、Page类的IsValid 属性指示该页是否为响应客户端回发而加载
考题
You are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()A、% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %B、% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %C、% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %D、% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %
考题
下列关于ASP.NET的描述中,错误的是()。A、ASP.NET依赖于微软的.NET框架B、ASP.NET采用纯面向对象语言比采用脚本语言的执行效率高C、ASP.NET采用代码分离技术有利于开发协作D、ASP.NET和ASP都采用了JavaScript编程语言
考题
Which directive defines master page-precise attributes that are used by the ASP.NET page parser and compiler? ()A、@ MasterTypeB、@ MasterC、@ PageTypeD、@ MasterPage
考题
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?()A、ContentB、ContentPlaceHolderC、PlaceHolderD、Substitution
考题
You are perfoming security testing on an existing asp.net web page.You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthorised post back requests. which page directive you use?()A、%@Page strict = "true" % B、%@Page enableViewStateMac = "true" %C、%@Page EnableEventValidation = "true" %D、%@Page Aspcompact = "true" %
考题
You are testing an existing ASP.NET page. The page includes a text box. You are able to execute malicious JavaScript code by typing it in the text box and submitting. You need to configure the page to prevent JavaScript code from being submitted by the text box. In the @ Page directive, which attribute should you set to true?()A、the EnableEventValidation attributeB、the ResponseEncoding attributeC、the ValidateRequest attributeD、the Strict attribute
考题
你需要在运行时通过程序引用一个用户控件,下面那些是可行的方案?()A、在用户控件的@ Control 标记内包含ClassName 属性。B、用户控件实现为单个Page,而不是code-behind。C、ASP.NET Web 页实现为单个Page,而不是code-behind。D、使用控件的ASP.NET Web 页包含一个@ Reference 标记。
考题
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 theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()A、PlaceHolderB、ContentPlaceHolderC、ContentD、Substituition
考题
单选题Which directive defines master page-precise attributes that are used by the ASP.NET page parser and compiler? ()A
@ MasterTypeB
@ MasterC
@ PageTypeD
@ MasterPage
考题
单选题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 add an event handler to?()A
IniB
LoadC
PreInitD
PreLoad
考题
单选题你创建了一个 Web 站点,此站点在用户 profile 对象中存储用户的所有可用主题。你需要在用户登录 Web 站点时,为站点应用用户预先选择好的主题。你应该如何做?()A
在InitComplete事件处理中,基于用户profile设置Page对象的Theme属性。B
在PreLoad事件处理中,基于用户profile设置Page对象的Theme属性。C
在OnLoad事件处理中,基于用户profile设置Page对象的Theme属性。D
在PreInit事件处理中,基于用户profile设置Page对象的Theme属性。
考题
单选题You are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()A
% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %B
% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %C
% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %D
% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %
考题
单选题You are perfoming security testing on an existing asp.net web page.You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthorised post back requests. which page directive you use?()A
%@Page strict = true % B
%@Page enableViewStateMac = true %C
%@Page EnableEventValidation = true %D
%@Page Aspcompact = true %
考题
单选题You are testing an existing ASP.NET page. The page includes a text box. You are able to execute malicious JavaScript code by typing it in the text box and submitting. You need to configure the page to prevent JavaScript code from being submitted by the text box. In the @ Page directive, which attribute should you set to true?()A
the EnableEventValidation attributeB
the ResponseEncoding attributeC
the ValidateRequest attributeD
the Strict attribute
考题
填空题列举ASP.NET中的七个内置对象:()、()、()、()、()、()、()。
热门标签
最新试卷