A.Use JavaScript Object Notation.
B.Use the RegisterClientScriptBlock method.
C.Use the RegisterClientScriptlnclude method.
D.Build a JavaScript function.
E.Use the RegisterClientScriptResource method.
您可能感兴趣的试卷
你可能感兴趣的试题
A.Use RangeValidator.
B.Use RegularExpressionValidator
C.Use RequiredValidator
D.Use CompareValidator
E.Use RequiredFieldValidator
A.<%= Html.ActionLink("MyTest", "MyHome", new {area = "test"}, null)%>
B.<%= Html.RouteLink("MyHome", "MyTest", new {area = "test"}, null)%>
C.<%= Html.RouteLink("MyTest", "MyHome", "MyTest", new {area = "test"}, null)%>
D.<%= Html.ActionLink("MyTest", "MyHome", "MyTest", new {area = "test"}, null)%>
A.<%@ PreviousPageType VirtualPath ="~/MyPage.aspx"% >
B.<%@ PreviousPageType VirtualPath ="/MyPage.aspx/ ~"% >
C.<%@ PreviousPageType VirtualPath ="~/MyPage.master"% >
D.<%@ PreviousPageType VirtualPath ="~/MyPage"% >
A.@ MasterType
B.@ Master
C.@ PageType
D.@ MasterPage
A.Add the following configuration to the
B.Add the following configuration to the
C.Add the following @ Page directive to pages that query the database.
D.Add the following @ Page directive to pages that query the database.
You are developing an ASP.NET Web service. The following code segment implements the service.
You need to ensure that both GetProduct methods can be called from a Web client. Which two actions should you perform?()
A.Remove line 01.
B.Add the static modifier on lines 05 and 11.
C.Add the following attribute before line 10. [SoapDocumentMethod(Action="GetProductById")]
D.Modify the attribute on line 10 as follows. [WebMethod(MessageName="GetProductById")]
A.OnLoad
B.Construct
C.OnDataBinding
D.SaveControlState
A.AjaxHelper
B.XDocument
C.JsonResult
D.DataContractJsonSerializer
You are developing an ASP.NET Web page. The page contains the following markup.
The pages code-behind file includes the following code segment.
You need to get a reference to the Image named img. Which code segment should you add at line 06?()
A.Image img = (Image)Page.FindControl("img");
B.Image img = (Image)e.Row.FindControl("img");
C.Image img = (Image)gvModels.FindControl("img");
D.Image img = (Image)Page.Form.FindControl("img");
You are implementing an ASP.NET Web site that uses a custom server control named Task. Task is defined as shown in the following list.
Class name: Task
Namespace: DevControls
Assembly: TestServerControl.dll
Base class: System.Web.UI.WebControls.WebControl
You copy TestServerControl.dll to the Web site‟s Bin folder. You need to allow the Task control to be declaratively used on site pages that do not contain an explicit @ Register directive. Which configuration should you add to the web.config file?()
A.<appSettings> <add key="Dev:Task" value="DevControls, DevControls.Task"/> </appSettings>
B.<compilation targetFramework="4.0" explicit="false"> <assemblies> <add assembly="TestServerControl" /> </assemblies> </compilation>
C.<pages> <controls> <add assembly="TestServerControl" namespace="DevControls" tagPrefix="Dev"/> </controls> </pages>
D.<pages> <tagMapping> <add tagType="System.Web.UI.WebControls.WebControl" mappedTagType="DevControls </tagMapping> </pages>
最新试题
You need to ensure that when the button is clicked, both update panels update the tim without generating a postback. What should you do?()
You are developing an ASP.NET Web page that uses jQuery validation. The user should enter a valid email address in a text box that has ID txtEmail. The page must display "E-Mail address required" when the user does not enter an address and "Invalid e-mailaddress" when the user enters an address that is not formatted properly. You need to ensure that the appropriate error message is displayed when the text box does not contain a valid e-mail address. Which two code segments should you add?()
In a web page with chechboxes you need to write e jquery that retruns the number checked checkboxes.()
You are developing an ASP.NET Web application.The application is configured to use the membership and role providers. You need to allow all users to perform an HTTP GET for application resources, but you must allow only the user named Moderator to perform a POST operation.Which configuration should you add to the web.config file?()
Which event of the GridView class occurs when the Edit button of a row is clicked, but before the GridView control enters edit mode?()
Which class is used to specify a set of features to support on the XrnlReader object created by the Create method?()
You are developing an ASP.NET MVC 2 Web Application. You need to implement an asynchronous controller named AccountingController, and you must ensure that the export action required proper authorization.Which code segment should you use?()
You have migrated a web application from .net 3.5 to 4.0. the application hat to render same as in .net 3.5.()
You have to store user data of 200 KB in an object. Which state management technique to use:()
The page will be posted to the server after one or more image files are selected for upload.You need to ensure that all unuploaded files are saved to the server within one call to a single event handler. What should you do? ()