You have created an ASP.NET server control named Shopping Cart for use by other developers. Some developers report that the Shopping Cart control does not function properly with ViewState disabled. You want to ensure that all instances of the Shopping Cart control work even if View State is disabled. What should you do?() Require developers to set EnableViewStateMac to true.。 Store state in ControlState instead of ViewState.。 Serialize the state into an Application state entry called "MyControl".。 Require developers to change the session state mode to SQLServer.。
在使用CoolEDitPro过程中,下列说法中正确的是() "FADeIn"处理就是淡入处理,根据需要,对淡入处理的各项参数进行设置,处理后的音频由强到弱逐渐达到音量的正常值。 "FADeout"处理就是淡出处理,根据需要,对淡出处理的各项参数进行设置,处理后的音频由强到弱逐渐变为静音。 "FADeIn"处理就是淡出处理,根据需要,对淡出处理的各项参数进行设置,处理后的音频由强到弱逐渐变为静音。 "FADeout"处理就是淡入处理,根据需要,对淡入处理的各项参数进行设置,处理后的音频由弱到强逐渐达到音量的正常值。
You are implementing an ASP.NET Web site that will be accessed by an international audience. The site contains global and local resources for display elements that must be translated into the language that is selected by the user. You need to ensure that the Label control named lblCompany displays text in the users selected language from the global resource file. Which control markup should you use?() <asp:Label ID="lblCompany" runat="server" meta:resourcekey="lblCompany" /> 。 <asp:Label ID="lblCompany" runat="server" Text="meta:lblCompany.Text" /> 。 <asp:Label ID="lblCompany" runat="server" Text="<%$ Resources:lblCompanyText %>" />。 <asp:Label ID="lblCompany" runat="server" Text="<%$ Resources:WebResources, lblCompanyText %>" />&e。
下列说法不正确的是() 速度势函数相等的点连成的线称为等势线,速度方向垂直于等势线。。 连接任意两点的速度环量等于该两点的速度势函数之差。。 速度线积分与路径无关,仅决定于两点的位置,如果是封闭曲线,速度环量为零。。 对于平面流动,无论是理想流还是粘性流,无论是有漩涡还是无漩涡,均存在流函数。
You create an ASP.NET page named TestPage.aspx that contains validation controls. You need to verify that all input values submitted by the user have been validated by testing the Page.IsValid property. Which page event should you add an event handler to?() Init。 Load。 PreInit。 PreLoad。
You are implementing an ASP.NET application that uses data-bound GridView controls in multiple pages. You add JavaScript code to periodically update specific types of data items in these GridView controls. You need to ensure that the JavaScript code can locate the HTML elements created for each row in these GridView controls, without needing to be changed if the controls are moved from one page to another. What should you do?()