题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-10-27 06:07:29

[单项选择] You are creating a templated Web control for use in your Web application.You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()
A. Ensure that the Web control inherits from the WebControl class.
B. Ensure that the Web control inherits from the Control class.
C. Ensure that the Web control inherits from the CompositeControl class.
D. Ensure that the Web control inherits from the UserControl class.

更多"You are creating a templated Web co"的相关试题:

[单项选择] You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()
A. Ensure that the Web control inherits from the WebControl class.
B. Ensure that the Web control inherits from the Control class.
C. Ensure that the Web control inherits from the CompositeControl class.
D. Ensure that the Web control inherits from the UserControl class.
[单项选择]You develop a Web control. The Web control consists of labels and associated text boxes.You need to ensure that the Web control has both toolbox and visual designer support. What should you do?()
A. Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.
B. Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.
C. Add a Web User Control to your project. Define a class that inherits from UserControl.
D. Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.
[单项选择] You are developing a Web control. The Web control captures user address information in a Web application. You create a class named AddressControl that inherits from CompositeControl. This control consists of child controls.You need to ensure that the child controls are properly output to the browser.Developers using your control must be able to set the appropriate text for labels. In addition, they must be able to pull user address information from the associated text boxes during postback. What should you do?()
A. Override the EnsureChildControls method of the base class. Add the child controls to the base container.
B. Override the CreateControlCollection method of the base class. Add the child controls to the ControlCollection class
C. Override the CreateChildControls method of the base class. Add the child controls to the base container.
D. Override the DataBindChildren method of the base class. Add the child controls to the ControlCollection class.
[单项选择] You create a Web server control named ContosoControls. You add a Web custom control named ContosoMailer to it. You then distribute the Web Control Library files to your team. You need to provide your team with the correct procedure for adding the Web Control Library to the items in the toolbox of Microsoft Visual Studio .NET. Which procedure should you provide to the team?()
A. Within the toolbox, click Choose Items and then browse to and select the ContosoControls user control.
B. Within the toolbox, click Choose Items and then browse to and select the ContosoMailer user control.
C. Right-click Web Project, click Add Reference, and then browse to and select the ContosoControls.dll file.
D. Within the toolbox, click Choose Items and then browse to and select the ContosoControls.dll file.
[多项选择]You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls. Which two actions should you perform?()
A. Create a class that inherits HtmlTextWriter and that can emit the new markup.
B. Create a class that inherits StreamWriter and that can emit the new markup.
C. Reference the class in the element of the new device's browser definition file.
D. Reference the class in the element of the new device's browser definition file.
[单项选择]Which major J-Web menu should you use to upgrade the JUNOS soft ware on the router?()
A. Monitor
B. Maintain
C. Diagnose
D. Configuration
[多项选择]You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()
A. Create the ContosoUI control as a Web Control Library.
B. Create the ContosoUI control as a Web user control.
C. Within the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.
D. Within the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

截图扫码使用小程序[完全免费查看答案]
请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码