欢迎来到PP题库网 PP题库官网
logo
全部科目 > 微软认证考试 > MCPD > MCPD(70-562)

单项选择题

You are employed as the senior administrator at Certkiller.com. You make use of Microsoft .NETFramework v3.5 to create a Microsoft ASP.NET application. 
You make use of ASP.NET AJAX create a Web form. The code fragment below exists in the Webfrom. (The line numbers is included for reference purposes)
01 <script type="text/javascript">
02
03 Sys.Application.add_init(initComponents);
04
05 function initComponents() {0607 }
08
09 </script>
10
11 <asp:ScriptManager ID="ScriptManager1"
12 runat="server" />
13 <asp:TextBox runat="server" ID="CKTextBoxA" /> 
You make use of the initComponents function to create and start a user behavior. This userbehavior is named CKBehavior. You have to make sure that CKBehavior is attached to
CKTextBoxA. You should determine the appropriate code segment you need to add in line 6 toaccomplish this. 
What should you identify?()

    A.Your best option would be to insert Sys.Component.create(CKBehavior, $get('CKTextBoxA'),null, null, null)
    B.Your best option would be to insert Sys.Component.create(CKBehavior, 'CKTextBoxA', null,null, null)
    C.Your best option would be to insert $create(CKBehavior, null, null, null, $get('CKTextBoxA'))
    D.Your best option would be to insert $create(CKBehavior, null, null, null, 'CKTextBoxA')

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题