网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
The(75)page is the introductory page of a set Web pages.
A.First
B.Home
C.Head
D.Host
参考答案
更多 “ The(75)page is the introductory page of a set Web pages.A.FirstB.HomeC.HeadD.Host ” 相关考题
考题
关于Page类,说法错误的是:( )
A、在Page类中已经定义了网页所需要的基本属性、事件和方法B、Web窗体是派生自Page类的对象C、Page类有一些内置对象D、Page类的IsValid 属性指示该页是否为响应客户端回发而加载
考题
打开http://www/web/sichi01.html页面,浏览网页,点击不同的链接进入子页面详细浏览。并将子页面一、子页面二和子页面三以HTML文件类型保存到考生文件夹下,文件名分别为Page1.html、Page2.html和Page3.html。
考题
你创建了一个 Web 站点,此站点在用户 profile 对象中存储用户的所有可用主题。你需要在用户登录 Web 站点时,为站点应用用户预先选择好的主题。你应该如何做?()
A. 在InitComplete事件处理中,基于用户profile设置Page对象的Theme属性。B. 在PreLoad事件处理中,基于用户profile设置Page对象的Theme属性。C. 在OnLoad事件处理中,基于用户profile设置Page对象的Theme属性。D. 在PreInit事件处理中,基于用户profile设置Page对象的Theme属性。
考题
你正在开发一个包含两个母版页的 Web 应用。你需要在用户访问页面的时候动态的设置母版页,你应该如何做?()
A.在页面Page_Init事件设置Page.MasterPageFile.B.在页面OnInit事件设置Page.MasterPageFile.C.在页面Page_Load事件设置Page.MasterPageFile.D.在页面Page_PreInit事件设置Page.MasterPageFile.
考题
你为 Web 窗体写了一个记录日志的方法,并且在 Page_Unload 事件处理中调用这个方法。但是,通过你测试这个Web窗体后发现,Page_Unload事件处理并没有去调用这个写日志的方法。 你需要保证这个写日志的方法一定被调用,请从下面的答案中选出两个可能的方法?()
A. 设置页属性 AutoEventWireup=False。移除Web窗体元素中onunload=Page_Unload 。B. 设置页属性 AutoEventWireup=False。在Web窗体元素中增加 OnUnload=Page_Unload 。C. 设置页属性AutoEventWireup=False。增加Web窗体属性autocomplete=on。D. 设置页属性AutoEventWireup=True.
考题
你需要在Web页截获所有未处理的事件并且在一个处理事件日志的方法中处理他们。已知Web页的AutoEventWireup属性设置为enabled。请问,你应该创建那一个方法?()
A.Page_ErrorB.ErrorC.Page.ErrorPageD.Application_Error
考题
YouareimplementinganASP.NETpageinane-commerceapplication.CodeinabtnAddToCart_Clickeventhandleraddsaproducttotheshoppingcart.Thepageshouldcheckthestatusoftheshoppingcartandalwaysshowacarticonwhenoneormoreitemsareintheshoppingcart.Thepageshouldhidetheiconwhentheshoppingcarthasnoitems.Youneedtoaddaneventhandlertoimplementthisrequirement.Whicheventhandlershouldyouadd?()A.btnAddToCart_ClickB.Page_LoadC.Page_PreRenderD.Page_PreInit
考题
YoucreateaWebpagenamedTestPage.aspxandausercontrolnamedcontainedinafilenamedTestUserControl.ascx.YouneedtodynamicallyaddTestUserControl.ascxtoTestPage.aspx.Whichcodesegmentshouldyouuse?()
A.protectedvoidPage_Load(objectsender,EventArgse){ControluserControl=Page.LoadControl(TestUserControl.ascx);Page.Form.Controls.Add(userControl);}B.protectedvoidPage_Load(objectsender,EventArgse){ControluserControl=Page.FindControl(TestUserControl.ascx);Page.Form.Controls.Load(userControl);}C.protectedvoidPage_PreInit(objectsender,EventArgse){ControluserControl=Page.LoadControl(TestUserControl.ascx);Page.Form.Controls.Add(userControl);}D.protectedvoidPage_PreInit(objectsender,EventArgse){ControluserControl=Page.FindControl(TestUserControl.ascx);Page.Form.Controls.Load(userControl);}
考题
在.Net中,类System.Web.UI.Page 可以被继承么?
热门标签
最新试卷