题目
A.DetailsView
B.ObjectDataSource
C.Content
D.CompositeControl
第1题
A.控件从System.Web.UI.Control继承。
B.控件从System.Web.UI.WebControls.CompositeControl继承.
C.控件从System.Web.UI.WebControls.WebControl继承.
D.控件从System.Web.UI.UserControl继承
第2题
A.Button
B.TemplateControl
C.Control
D.WebControl
E.UserControl
第3题
A.在自定义控件代码中为Login按钮增加事件处理代码。
B.在自定义控件所在的Web窗体代码中为Login按钮增加事件处理代码。
C.在自定义控件所在的Web窗体的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。
D.在自定义控件的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。
第4题
A.<%@ OutputCache Duration="300" Shared="true" VaryByParam="None" %>
B.<%@ OutputCache Duration="5" VaryByParam="None" %>
C.<%@ OutputCache Duration="5" Shared="true" VaryByParam="None" %>
第5题
A.[Designer(myControlDesigner)] public class myControl: CompositeControl
B.[Designer(typeof(myControl))] public class myControlDesigner: CompositeControlDesigner
C.[Designer(myControl)] public class myControlDesigner: CompositeControlDesigner
D.[Designer(typeof(myControlDesigner))] public class myControl: CompositeControl
第6题
A. Label lblTitle = (Label)Master.FindControl(“lblTitle”);lblTitle.Text = “Articles”;
B. Label lblTitle = (Label)Parent.FindControl(“lblTitle”);lblTitle.Text = “Articles”;
C. Master.Page.Title = “Articles”;
D. ((Label)Page.FindControl(“lblTitle”)).Text = “Articles”;
第7题
A.
B.
C.
D.
第8题
A.创建一个新的”Web控件库”项目,在一个Web自定义控件中创建工具条
B.将一个新的Web用户控件添加到你的ASP.NET项目,在Web用户控件中创建工具条
C.将一个新的Web窗体添加到你的ASP.NET项目,使用HTML服务器控件在WEB窗体内设计该工具条,并用.ascx扩展名保存该web窗体
D.将一个新的组件类添加到你的ASP.NET项目,使用HTML服务器控件在该组件类的设计程序中设计该工具条
第9题
A.在VehicleInformation.aspx的页面指令中,确保AutoEventWireup属性设为true
B.在VehicleInformation.aspx的页面指令中,确保EnableViewState属性设为true
C.在vehicleIDNumber控件HTML元素中,确保AutoPostback属性设为false 包括让onserverchange事件
D.在vehicleIDNumber控件HTML元素中,确保AutoPostback属性设为true。 在TextChanged事件处理程序中包括查询XML WEB服务的代码
第10题
A. 设置Web窗体上验证控件的Enabled 属性为False。
B. 设置btnCancel 按钮的CausesValidation 属性为False.
C. 设置btnCancel 按钮的CausesValidation 属性为True.
D. 设置Web窗体上验证控件的Visible 属性为False。
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!