网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
You create a Web Form for the acceptance of donations. Users type donation amounts by using a TextBox control named txtAmount. The donation amount must be between 10 dollars and 10,000 dollars. You add the following RequiredFieldValidator and RangeValidator. During testing you learn that when users fail to enter values before submitting the Web Form to the server, the message "Please enter a value" appears, as shown below. You need to ensure that the message appears immediately following the txtAmount TextBox control without extra spaces. What should you do? ()
A

In the RangeValidator, set the Display property to Dynamic.

B

In the RangeValidator, set the Display property to Static.

C

In the RequiredFieldValidator, set the Display property to Dynamic.

D

In the RequiredFieldValidator, set the Display property to Static.


参考答案

参考解析
解析: 暂无解析
更多 “单选题You create a Web Form for the acceptance of donations. Users type donation amounts by using a TextBox control named txtAmount. The donation amount must be between 10 dollars and 10,000 dollars. You add the following RequiredFieldValidator and RangeValidator. During testing you learn that when users fail to enter values before submitting the Web Form to the server, the message "Please enter a value" appears, as shown below. You need to ensure that the message appears immediately following the txtAmount TextBox control without extra spaces. What should you do? ()A In the RangeValidator, set the Display property to Dynamic.B In the RangeValidator, set the Display property to Static.C In the RequiredFieldValidator, set the Display property to Dynamic.D In the RequiredFieldValidator, set the Display property to Static.” 相关考题
考题 You create a Web application for your company‘s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.Which two code segments should you use?()A.B.C.D.

考题 You are creating a mobile Web Form that dynamically displays news items. You want to display news items by using an instance of a mobile TextView control named TextViewNews. You need to configure the Web Form that contains TextViewNews. The Web Form must enable pagination in casea users device does not display the full text of a news item.Which code segment should you use? ()A.B.C.D.

考题 You create a Web site that is for members only. The Web site allows members to create lists of users that have access to information about member profiles. The name of the list is stored in the listName variable. The user name of the user to whom access is given is stored in the username variable.You need to enable members to manage their lists of users.Which code segment should you use?()A.B.C.D.

考题 You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A. Include a data source identified as WebPartConnection1 on the Web Form.B. Include a Web Part identified as customerPart on the Web Form.C. Include a Web Part identified as ordersPart on the Web Form.D. Ensure that you declare an interface named IOrdersPart.E. Ensure that you declare an interface named ICustomerPart.F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

考题 You create a Web Form for the acceptance of donations. Users type donation amounts by using a TextBox control named txtAmount. The donation amount must be between 10 dollars and 10,000 dollars. You add the following RequiredFieldValidator and RangeValidator. During testing you learn that when users fail to enter values before submitting the Web Form to the server, the message "Please enter a value" appears, as shown below. You need to ensure that the message appears immediately following the txtAmount TextBox control without extra spaces. What should you do? ()A、In the RangeValidator, set the Display property to Dynamic.B、In the RangeValidator, set the Display property to Static.C、In the RequiredFieldValidator, set the Display property to Dynamic.D、In the RequiredFieldValidator, set the Display property to Static.

考题 You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment. You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file. Which code segment should you add to the Page_Load event? ()A、Wizard1.RequireEmail = TrueB、Wizard1.Email = "user@address.com"C、Wizard1.MailDefinition.From = "registration@mysite.com"D、SmtpMail.SmtpServer = "mail.contoso.com"

考题 You have an Exchange Server 2010 organization.Users access their e-mail from the Internet by using Outlook Web App.You need to prevent users from downloading ZIP files from Outlook Web App.The solution must ensure that users can download ZIP files by using Microsoft Office Outlook. What should you do?()A、Configure the Content Filter agent.B、Configure the Attachment Filter agent.C、Create a managed folder mailbox policy.D、Create an Outlook Web App Mailbox policy.

考题 You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A、Include a data source identified as "WebPartConnection1" on the Web Form.B、Include a Web Part identified as "customerPart" on the Web Form.C、Include a Web Part identified as "ordersPart" on the Web Form.D、Ensure that you declare an interface named "IOrdersPart".E、Ensure that you declare an interface named "ICustomerPart".F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

考题 You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()A、Add a SiteMapDataSource control to the Web Form and bind the TreeView control to it.B、Add a SiteMapPath control to the Web Form and bind the TreeView control to it.C、Embed the site map XML within the SiteMap node of a Web.sitemap file.D、Embed the site map XML within the AppSettings node of a Web.config file.E、Set the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.F、Set the SkipLinkText property of the SiteMapPath control to Sales.

考题 You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()A、Add custom controls that emit XHTML to the Web Form.B、Add custom controls that emit WML to the Web Form.C、Add mobile controls to the Web Form.D、Add Web server controls to the Web Form.

考题 You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform?()A、Create a valid definition in the Web.config file.B、Set the passwordFormat attribute of the configured membership provider to Encrypted.C、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.D、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.

考题 You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages. Which two controls should you add to the EditorZone control?()A、BehaviorEditorPartB、AppearanceEditorPartC、PropertyGridEditorPartD、LayoutEditorPart

考题 You have a Web server named Web1 that runs Windows Server 2003 Service Pack 2 (SP2). Users on the internal network connect to the Web site on Web1 by using the URLhttp://www.contoso.com.  From the Internet, you cannot connect to the Web site by using the URL http://www.contoso.com. You can connect to the Web site by using the public IP address of Web1.You need to ensure that users on the Internet can connect to the Web site on Web1 by using the URL http://www.contoso.com. You deploy a DNS server that is accessible on the Internet.  What should you do next?()A、Create a stub zone for contoso.com. B、Create a primary zone for contoso.com. C、Create a secondary zone for contoso.com. D、Configure a conditional forwarder for contoso.com. 

考题 You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()A、Configure the SqlMembershipProvider in the web.config file.B、Configure the SqlProfileProvider in the web.config file.C、Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.D、Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.

考题 多选题You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()AConfigure the SqlMembershipProvider in the web.config file.BConfigure the SqlProfileProvider in the web.config file.CCreate an ASP.NET page that contains a default CreateUserWizard control to create a new user account.DCreate an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.

考题 多选题You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()AAdd a SiteMapDataSource control to the Web Form and bind the TreeView control to it.BAdd a SiteMapPath control to the Web Form and bind the TreeView control to it.CEmbed the site map XML within the SiteMap node of a Web.sitemap file.DEmbed the site map XML within the AppSettings node of a Web.config file.ESet the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.FSet the SkipLinkText property of the SiteMapPath control to Sales.

考题 单选题You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment.You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file. Which code segment should you add to the Page_Load event?()A Wizard1.RequireEmail = TrueB Wizard1.Email = user@address.comC Wizard1.MailDefinition.From = registration@mysite.comD SmtpMail.SmtpServer = mail.contoso.com

考题 多选题You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform? ()ACreate a valid definition in the Web.config file.BSet the passwordFormat attribute of the configured membership provider to Encrypted.CEnsure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.DEnsure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.

考题 单选题You create a Web Form that contains a button named btnCancel that enables users to exit the page. When users click this button, validation must not occur. During testing you learn that clicking the Cancel button does not enable users to exit the page. You need to ensure that users can always exit the page. What should you do? ()A Set the Enabled property of the validation controls on the Web Form to False.B Set the CausesValidation property of the btnCancel button to False.C Set the CausesValidation property of the btnCancel button to True.D Set the Visible property of the validation controls on the Web Form to False.