作业帮 > 微软认证(MCSE) > 教育资讯

2013微软认证考试练习题及答案(35)[1]

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/09 23:16:15 微软认证(MCSE)
2013微软认证考试练习题及答案(35)[1]
2013微软认证考试练习题及答案(35)[1]微软认证(MCSE)
【网络综合 - 微软认证(MCSE)试题】
无忧考网为大家收集整理了《2013微软认证考试练习题及答案(35)》供大家参考,希望对大家有所帮助!!!

QUESTION 91
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You create a Web form in the application by using the following code fragment. (Line numbers are included for reference only.)
01
07
08 09 runat="server" />
10
11 12 UpdateMode="Conditional" runat="server">
13
14
15 16 Text="Submit" OnClick="Button_Handler" />
17

18
19
You plan to create a client-side script code by using ASP.NET AJAX.
You need to ensure that while a request is being processed, any subsequent Click events on the btnSubmit Button control are suppressed.
Which code fragment should you insert at line 10?

A.
B.
var rm = Sys.WebForms.PageRequestManager.getInstance();
rm.add_initializeRequest(checkPostback);
function checkPostback(sender, args) {
if (rm.get_isInAsyncPostBack() && args.get_postBackElement().id == ’btnSubmit’) {
rm.abortPostBack();
alert微软认证(MCSE)