单选题You need to ensure that when the button is clicked, both update panels update the tim without generating a postback. What should you do?()AAdd the following marktip to UpdatePanel1. Triggers asp:PostBackTrigger ControlID=btnSave / /Triggers BSet the UpdateMode property for the UpdatePanel2 to AlwaysCAdd the following markup to UpdatePanel2 Triggers asp:AsyncPostBackTrigger ControlID=btnSave EventName=Click / /Triggers DSet the UpdateMode property for UpdatePanel2 to Conditional
单选题
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
参考解析
解析:
暂无解析
相关考题:
You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other services are notified when the service is started.What should you do?() A.B.C.D.
When you use Microsoft Windows Media Player to begin playback of a music file, you receive the following error message: You do not have the rights to play this file.” You need to configure Windows Media Player to ensure playback of protected digital media.What should you do?()A.AB.BC.CD.D
You need to configure the power settings of your portable computer so that the display turns off when it is inactive and running on battery power. You also need to ensure that the power settings of the hard disk remain unaffected.What should you do?()A.AB.BC.CD.D
When you connect an external monitor to your portable computer, the same image appears on both monitors.You need to drag a window from one monitor to the other.What should you do?() A.AB.BC.CD.D
You have a computer that runs Windows Vista.You need to ensure that active content can be automatically displayed when you insert a CD.What should you do?() A.AB.BC.CD.D
You have a computer that runs Windows Vista.You need to ensure that the temporary Internet files are deleted when you close Windows Internet Explorer.What should you do?() A.AB.BC.CD.D
You have an application that is incompatible with Windows Aero.You need to ensure that Windows Aero is automatically disabled when you run the application.What should you do?() A.AB.BC.CD.D
You are developing a Windows Presentation Foundation (WPF) application to play audio files. You add MediaElement mediaElement1 and a Button control named btnPlayAudio to the design surface. The MediaElement co.. audio file. The LoadedBehavior attribute is set to Manual.You add the following code to the main Window.You set the command of the button to MediaCommands.Play.You need to ensure that the application will play the audio file when the button is pressed.What should you add to constructor of the main window ?()A.B.C.D.
An application receives an error message when initializing a connection to a Windows Azure Queue. You need to recommend an approach for resolving the problem. What should you recommend?()A、 Ensure that the queue is not full.B、 Ensure that the queue has messages in it.C、 Ensure that the queue name does not containillegal characters.D、 Ensure that multiple processes are not talking to the same queue.
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a Button control for the application. You need to ensure that the application meets the following requirements: When the mouse pointer is over the Button control, the background color of the button is set to red and the Button control appears bigger. When the mouse pointer is not over the Button control, the button returns to its original state. What should you do?()A、Create a template. Declare a VisualState element in the template.B、Create a StoryBoard animation. Add an EventTrigger class to the Button control that begins the StoryBoard animation.C、Create a ScaleTransform class. Bind the ScaleX and ScaleY properties of the Button control to the Background property by using a custom value converter.D、Add a method named ChangeAppearance in the code-behind file. Subscribe the ChangeAppearance method to the MouseEnter event of the Button control.
You need to ensure that the stored procedure that inserts new loan requests can access data in tables that are stored in another database on the same SQL Server instance. Which two actions should you perform?()A、Ensure that the stored procedure and the tables are owned by users that are associated with the same SQL Server login.B、Ensure that the stored procedure and the tables are owned by the same database user.C、Ensure that the stored procedure and the tables use the same database schema.D、Configure the multiuser database option on both databases.E、Configure the cross-database ownership chaining option on both databases.
In which scenarios would you rebuild an index?()A、 when you need to disable the index usageB、 when you need to change storage optionsC、 when you need to enable index monitoringD、 when you need to move the index to another tablespace
Which event of the GridView class occurs when the Edit button of a row is clicked, but before the GridView control enters edit mode?()A、RowEnteredB、RowEditedC、RowEnteringD、RowEditing
You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site. Which two actions should you perform? ()A、Add the OnClick event handler for the Login button to the code used in the custom user control.B、Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.C、In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.D、In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.
You plan to deploy a Virtual Desktop Infrastructure (VDI). You need to ensure that all of the changes made to the virtual machines (VMs) in the VDI are discarded when users log off of their session. What should you include in the deployment?()A、mandatory profilesB、a virtual desktop poolC、roaming profilesD、personal virtual desktops
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You want to add an audio player that plays .wav or .mp3 files when the user clicks a button. You plan to store the name of the file to a variable named SoundFilePath. You need to ensure that when a user clicks the button, the file provided by SoundFilePath plays. What should you do?()A、Write the following code segment in the button onclick event. System.Media. SoundPlayer player = new System.Media. SoundPlayer(SoundFilePath); player.play();B、Write the following code segment in the button onclick event. MediaPlayer player = new MediaPlayer(); player.Open(new URI(SoundFilePath), UriKind.Relative)); player.play();C、Use the following code segment from the PlaySound() Win32 API function and call the PlaySound function in the button onclick event. [sysimport(dll="winmm.dll")] public static extern long PlaySound(String SoundFilePath, long hModule, long dwFlags);D、Reference the Microsoft.DirectX Dynamic Link Libraries. Use the following code segment in the button onclick event. Audio song = new Song(SoundFilePath); song.CurrentPosition = song.Duration; song.Play();
You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()A、FrameworkElementB、UIElementC、UserControlD、Button
You are developing a user control for Windows Presentation Foundation (WPF) application. The user control contains a button. Both the user control and the hosting control must receive the button click event. You need to ensure that the user control responsd to the button click event before hosting control responds to the event. What should you do ?()A、Use a bubbling routed event. In the button click event handler, set the Handled property to TrueB、Use a bubbling routed event. In the button click event handler, set the Handled property to FalseC、Use a standard Microsoft .NET event. Set Handled property to true.D、Use a tunneling routed event. Set the handled property to false.
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication. You decide to make use of Microsoft ASP.NET 3.5 in order to create the application. The followingmarkup is present on the page: " ="" selectcommand="GetUsers" selectcommandtype="StoredProcedure" filterexpression="Active=1 AND Name LIKE ’{0}%’"> The page is used to retrieve the Users from a company database. However, only the active usersare displayed. The TextBox control allows you to also filter users by status. You do not specify astatus when you click the Filter button. You notice that the page does not filter by active users andshows all the users that are retrieved from the database. You need to make the necessary settingsto ensure that only the active users are being displayed on the page when a status is notspecified. What should you do?()A、You should ensure that a default value for the Status property of the ControlParameter controlis set.B、You should ensure that the PropertyName property of the ControlParameter control is set toText.C、You should ensure that the ControlParameter control’s ConvertEmptyStringToNull property isset to false.D、You should ensure that the {0} placeholder in the FilterExpression property is replaced with the(?) symbol.
单选题You need to ensure that when the button is clicked, both update panels update the tim without generating a postback. What should you do?()AAdd the following marktip to UpdatePanel1. Triggers asp:PostBackTrigger ControlID=btnSave / /Triggers BSet the UpdateMode property for the UpdatePanel2 to AlwaysCAdd the following markup to UpdatePanel2 Triggers asp:AsyncPostBackTrigger ControlID=btnSave EventName=Click / /Triggers DSet the UpdateMode property for UpdatePanel2 to Conditional
多选题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 application holds a Web page named MyHome.aspx. You are creating a button with a rolloverimage on MyHome.aspx. However, when mouse hovered over the button image, the rolloverimage is retrieved from the server in a separate request. You need to use an improved rollover button in which the button„s rolloverimage is already downloaded and stored in the browser’s cache, as a result when you hover over the button, it is instantly displayed. What will you do to accomplish this?()AUse JavaScript Object Notation.BUse the RegisterClientScriptBlock method.CUse the RegisterClientScriptlnclude method.DBuild a JavaScript function.EUse the RegisterClientScriptResource method.
单选题You are creating a tabular report for the sales department with a department break group. You need to ensure that if al least six sales records will not fit at the button of a page, the group will start on the next page. Which printing frame property would you alter to achieve these results?()ASource BPrint direction CMaximum records per page DMinimum Widow records EColumn mode
单选题An application receives an error message when initializing a connection to a Windows Azure Queue. You need to recommend an approach for resolving the problem. What should you recommend?()A Ensure that the queue is not full.B Ensure that the queue has messages in it.C Ensure that the queue name does not containillegal characters.D Ensure that multiple processes are not talking to the same queue.
单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a window that contains a Button control and a MenuItem control. Both controls are labeled "Add sugar." The Command properties of the Button and MenuItem controls are set to the same RoutedCommand named AddSugarCommand. You write the following code segment. private void CanAddSugar (object sender, CanExecuteRoutedEventArgs e) { ... } You need to ensure that when the CanAddSugar method sets e.CanExecute to false, the MenuItem and Button controls are disabled. What should you do?()ACreate an event handler for the CanExecuteChanged event of the AddSugarCommand command.Call the CanAddSugar method from within the event handler.BInherit the AddSugarCommand from the RoutedUICommand class instead of the RoutedCommand class. Call the CanAddSugar method from within the constructor of the AddSugarCommand command.CAdd a CommandBinding object to the CommandBinding property of the MenuItem control. Set the CanExecute property of the CommandBinding object to the CanAddSugar method.DAdd a CommandBinding object to the CommandBindings property of the window. Set the Command property of CommandBinding to the AddSugarCommand command. Set the CanExecute property of the CommandBinding object to the CanAddSugar method.
单选题Your network contains two Exchange Server 2010 Mailbox servers.You create a database availability group (DAG).You need to ensure that the Exchange servers can replicate mailbox databases.What should you do?()AModify the membership list of the DAGBAdd the Network Load Balancing feature on both serversCAdd Active Directory Federation Services (AD FS) on both serversDEnable Datacenter Activation Coordination (DAC) mode for the DAG
单选题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? ()ASet the Enabled property of the validation controls on the Web Form to False.BSet the CausesValidation property of the btnCancel button to False.CSet the CausesValidation property of the btnCancel button to True.DSet the Visible property of the validation controls on the Web Form to False.
单选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication. You decide to make use of Microsoft ASP.NET 3.5 in order to create the application. The followingmarkup is present on the page: " SelectCommand="GetUsers" SelectCommandType="StoredProcedure" FilterExpression="Active=1 AND Name LIKE ’{0}%’" The page is used to retrieve the Users from a company database. However, only the active usersare displayed. The TextBox control allows you to also filter users by status. You do not specify astatus when you click the Filter button. You notice that the page does not filter by active users andshows all the users that are retrieved from the database. You need to make the necessary settingsto ensure that only the active users are being displayed on the page when a status is notspecified. What should you do?()AYou should ensure that a default value for the Status property of the ControlParameter controlis set.BYou should ensure that the PropertyName property of the ControlParameter control is set toText.CYou should ensure that the ControlParameter control’s ConvertEmptyStringToNull property isset to false.DYou should ensure that the {0} placeholder in the FilterExpression property is replaced with the(?) symbol.
单选题You need to back up the existing data on a computer before you install a new application. You also need to ensure that you are able to recover individual user files that are replaced or deleted during the installation. What should you do?()ACreate a System Restore point.BPerform an Automated System Recovery (ASR) backup and restore.CIn the Backup and Restore Center window, click the Back up files button.DIn the Backup and Restore Center window, click the Back up computer button.