网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in Template.master.You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do? ()

A. Move default content inside area2 in Template.master. Remove area2 from Web Forms that do not provide content.

B. Move default content inside area2 in Template.master. Leave area2 blank in Web Forms that do not provide content.

C. Move default content inside area2 in the Web Forms. Remove area2 from Template.master.

D. Create an additional ContentPlaceHolder control in Template.master named area2_default. Place default content inside area2_default. Remove area2 from Web Forms that do not provide content.


参考答案

更多 “ You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in Template.master.You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do? ()A. Move default content inside area2 in Template.master. Remove area2 from Web Forms that do not provide content.B. Move default content inside area2 in Template.master. Leave area2 blank in Web Forms that do not provide content.C. Move default content inside area2 in the Web Forms. Remove area2 from Template.master.D. Create an additional ContentPlaceHolder control in Template.master named area2_default. Place default content inside area2_default. Remove area2 from Web Forms that do not provide content. ” 相关考题
考题 若要创建一个使用母版页template.master的内容页showData.aspx,需要在内容页的头部添加指令。 A、@ MasterB、@ PageC、@ ContentD、@ MasterPage

考题 You’re going to have a quiz ( )by another two in the ( )month. A. followed,followedB. followed,followingC. following,followedD. following,following

考题 你创建了一个名为Template.master的母版页。Template.master包含了如下的ContentPlaceHolder 服务器控件。你创建了10个Web窗体,它们都使用Template.master作为母版页。每个Web窗体有如下的Content控件和母版页的ContentPlaceHolder控件进行对应。现在,你需要配置Web页,使其当Web窗体没有提供content的时候,默认的内容将显示在area2ContentPlaceHolder控件中。你应该怎么做?()A. 在Template.master 中,移动默认内容到area2中。从不提供内容的Web窗体中移除area2。B. 在Template.master 中,移动默认内容到area2中。在不提供内容的Web窗体中留下空白的 area2 Content声明。C. 在Web窗体中,移动默认内容到area2中。在Template.master 中移除area2。D. 在Template.master中创建一个名为area2_default 的ContentPlaceHolder 控件。然后,放 默认内容在area2_default中。从不提供内容的Web窗体中移除area2。

考题 YouarecreatinganASP.NETWebsite.ThesitehasamasterpagenamedCustom.master.Thecode-behindfileforCustom.mastercontainsthefollowingcodesegment.YoucreateanewASP.NETpageandspecifyCustom.masterasitsmasterpage.YouaddaLabelcontrolnamedlblRegiontothenewpage.Youneedtodisplaythevalueofthemasterpage’sRegionpropertyinlblRegion.Whatshouldyoudo?()A.AddthefollowingcodesegmenttothePage_Loadmethodofthepagecode-behindfile. CustomMastercustom=this.ParentasCustomMaster;lblRegion.Text=custom.Region;B.AddthefollowingcodesegmenttothePage_Loadmethodofthepagecode-behindfile.CustomMastercustom=this.MasterasCustomMaster;lblRegion.Text=custom.Region;C.AddthefollowingcodesegmenttothePage_LoadmethodoftheCustom.Master.cscode-behindfile.LabellblRegion=Page.FindControl(lblRegion)asLabel;lblRegion.Text=this.Region;D.AddthefollowingcodesegmenttothePage_LoadmethodoftheCustom.Master.cscode-behindfile.LabellblRegion=Master.FindControl(lblRegion)asLabel;lblRegion.Text=this.Region;

考题 AJSPpageneedstoinstantiateaJavaBeantobeusedbyonlythatpage.Whichtwojsp:useBeanattributesmustbeusedtoaccessthisattributeintheJSPpage?() A.idB.typeC.nameD.classE.scopeF.create

考题 命令在当前设计中创建一个时钟。A.create_clockB.create clockC.clock_nameD.clock name

考题 在.aspx文件中常用的页面指令通常包括A.<%@Page%>B.<%@Import%>C.<%@Control%>D.<%@Master%>

考题 1、三个层并排,分别引用样式con1、con2和con3,这三个样式都设置为向右浮动,则三个层从左到右的排列顺序为:A.con1、con2、con3B.con3、con2、con1C.con1、con3、con2D.con3、con1、con2

考题 在.aspx文件中常用的页面指令通常包括:A.<%@Page%>B.<%@Import%>C.<%@Control%>D.<%@Master%>

考题 四个层并排,按顺序分别引用样式con1、con2、con3和con4,其中con1、con3和con4这三个样式都设置为向右浮动,con2的样式向左浮动,则四个层从左到右的排列顺序为:A.con1、con2、con3、con4B.con2、con4、con3、con1C.con1、con2、con4、con3D.con1、con3、con4