网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
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 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 look(). What () you () ?
A、tire, did…doB、tiring, have…doneC、tired, do…doD、tired, have…been doing
考题
What () you () at eight o'clock tomorrow morning?
A、are; doingB、do; youC、will; doD、will; be doing
考题
你正在创建一个自定义控件。控件的 UI 必须要包含几个文本框和两个按钮。要求,此控件在全局程序级缓冲中有效并且可供多个 Web 应用同时使用。为了用最少的代码实现这些功能,你该如何做?()
A.控件从System.Web.UI.Control继承。B.控件从System.Web.UI.WebControls.CompositeControl继承.C.控件从System.Web.UI.WebControls.WebControl继承.D.控件从System.Web.UI.UserControl继承
考题
你正在创建一个可以供 Web 应用使用的模板化 Web 控件。你需要在没有编译的情况下能够把此控件增加到你的 Web 页面上,你应该如何做?()
A.确保Web控件从WebControl类继承。B.确保Web控件从Control类继承.C.确保Web控件从CompositeControl类继承.D.确保Web控件从UserControl类继承.
考题
你使用拖放控件到 Visual Studio 2005 页面设计器的方式,给 ASP.NET Web 窗体增加了一个用户控件 MyControl。请问,Visual Studio 给你的 Web 窗体做了那些变化?()
A.为 Web 窗体的 body 增加了control id=MyControl1 Runat=server /元素。B.为 Web 窗体增加了@ Register 标记。C.为 Web 窗体的 body 增加了uc1:MyControl id=MyControl1 Runat=server / 元素。D.在 Web 窗体的head节增加了meta control=MyControl 元素。E.为 Web 窗体增加了@ Control 标记
考题
You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code.What should you do? ()A. Create a control that derives from System.Web.UI.Control.B. Create a control that derives from System.Web.UI.WebControls.CompositeControl.C. Create a control that derives from System.Web.UI.WebControls.WebControl.D. Create a control that derives from System.Web.UI.UserControl.
考题
You look() What()you()?Atire;did;doBtiring;have;doneCtired;do;doDtired;have;been doing
热门标签
最新试卷