单项选择题You have a login.ascx control and to display it in a view which method u would use()

A.http.display
B.http.partial
C.http.load
D.http.get


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题You are developing a Asp.net web application tht includes a panel control that has ID contentsection.You need to add a textBox control to the panel control.()

A.this.RequireControlState(this.LoadControl(typeof(TextBox),null));
B.this.ContentSection.control.add(this.FindControl(ContentSection.ID + "asp:TextBox"));
C.this.ContentSection.control.add(this.LoadControl(typeof(TextBox),null));
D.this.LoadComplete("asp:TextBox").IntiantiateIn(Content Section)

3.单项选择题

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? ()

A.Read the HttpRequest.Files property and call the HttpPostedFile.SaveAs method for each file.
B.Read the HttpRequest.inputStream property and call the System.Io.File.WriteLines method for each file.
C.Read the HttpRequest.inputStream property and call the HttpResponse.WriteLine method for each file.
D.Read the HttpRequest.Files property and call the System.Io.File.WriteLines method for each file.

4.单项选择题You need to ensure that when the button is clicked, both update panels update the tim without generating a postback.  What should you do?()

A.Add the following marktip to UpdatePanel1.  <Triggers>  <asp:PostBackTrigger ControlID="btnSave" />  </Triggers>  
B.Set the UpdateMode property for the UpdatePanel2 to "Always"
C.Add the following markup to UpdatePanel2  <Triggers>  <asp:AsyncPostBackTrigger ControlID="btnSave"  EventName="Click" />  </Triggers>  
D.Set the UpdateMode property for UpdatePanel2 to "Conditional"

5.单项选择题You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?()

A.Enable the User-unhandled option for SqlException in Visual Studio Exception configuration.
B.Set the value of the customErrors element‟s mode attribute to “on” in the web.config file.
C.Manually attach the Visual Studio debugger to Internet Explorer.
D.Enable the thrown option for SqlException in Visual Studio exception configuration.

6.单项选择题You are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()

A.<% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %>
B.<% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %>
C.<% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %>
D.<% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %>

7.单项选择题You develop an ASP.NET Web page that includes multiple WebPartZone controls, an EditorZone. Users report that they cannot customize the layout of the page by moving WebParts from one.You need to ensure that users can successfully move Web Parts from one zone to another. What should you do?()

A.Configure the Web site to enable session state.
B.Configure the Web site to require authentication and to use personalization.
C.Add a ProxyWebPartManager control to the page.
D.Add a AppearanceEditorPart control to the page.

10.单项选择题In a web page with chechboxes you need to write e jquery that retruns the number checked checkboxes.()

A.var n = $(“input:checked”).length;
B.var n = $(“:input, :checked”).length;
C.var n = $(“input:selected”).length;
D.var n = $(“:input, :selected”).length;

最新试题

Which class is used to specify a set of features to support on the XrnlReader object created by the Create method?()

题型:单项选择题

Which event of the GridView class occurs when the Edit button of a row is clicked, but before the GridView control enters edit mode?()

题型:单项选择题

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform.  You are creating an ASP.NET Web application using .NET Framework 4.0. The Web application comprises a class named Employee with properties named as First Name, Last Name, and Age. You add a Web page in which you get a list of Employee objects and display those objects in a GridView control. You are required to add code so that the GridView row is highlighted in red color if the age of the employee is less than 21 years.  What will you do to accomplish this?()

题型:单项选择题

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0. Now, you are deploying the ASP.NET Web application to a remote server. You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server. Which of the following deployment methods will you select to accomplish this?()

题型:单项选择题

Which class defines the contract that ASP.NET implements to provide membership services using custom membership providers?()

题型:单项选择题

Which tool is used to simplify the migration, management and deployment of IIS Web servers, Web applications and Web sites?()

题型:单项选择题

You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?()

题型:单项选择题

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?()

题型:单项选择题

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 are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()

题型:单项选择题