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

题目

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 case a users device does not display the full text of a news item. Which code segment should you use? ()

  • A、PagerStyle ps = new PagerStyle();ps.NextPageText = “more>”;ps.PreviousPageText = “<back”;FormNews.Paginate = true;
  • B、FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;TextViewNews.PaginateRecursive(new ControlPager(FormNews, 1000));
  • C、FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;FormNews.PaginateRecursive(new ControlPager(FormNews, 1000));
  • D、FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;FormNews.Paginate = true;

相似考题
更多“You are creating a mobile Web Fo”相关问题
  • 第1题:

    You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  An exception management framework is not used in the Web application. You need to ensure thatthe application log the unhandled exceptions automatically to the event log. You need to configurethe Web.config file to accomplish this. Identify the configuration that will assist you in thisscenario?()

    • A、You should consider using the <healthMonitoring enabled="true"/> configuration.
    • B、You should consider using the <deployment retail="true"/> configuration.
    • C、You should consider using the <customErrors mode="On"/> configuration.
    • D、You should consider using the <trace enabled="true"/> configuration.

    正确答案:A

  • 第2题:

    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.

    正确答案:C,D

  • 第3题:

    多选题
    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?()
    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,B
    解析: 暂无解析

  • 第4题:

    单选题
    You are a systems administrator responsible for managing a Windows Server 2008 Web server. Recently,your organization set up a new IIS Web site that will be accessed by users outside of your organizations.Consultants should be able to connect to this Web site, using IIS Manager. Your organization’s securitypolicy prevents you from creating domain accounts or local user accounts for these users. You attempt touse the IIS Manager Permissions feature for the Web site. However, when you click Allow User, you areable to select only Windows users.  How can you resolve this problem?()
    A

    Verify that Management Service has been started.

    B

    Reconfigure the file system permissions for the root folder of the Web site.

    C

    Reconfigure Management Service to enable Windows And IIS Manager Credentials.

    D

    Verify the Authentication settings for the Web site.


    正确答案: A
    解析: 暂无解析

  • 第5题:

    单选题
    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 case a users device does not display the full text of a news item. Which code segment should you use? ()
    A

    Dim ps As PagerStyle = New PagerStyle()ps.NextPageText = more >ps.PreviousPageText = < backFormNews.Paginate = True

    B

    FormNews.PagerStyle.NextPageText = more >FormNews.PagerStyle.PreviousPageText = < backTextViewNews.PaginateRecursive(New ControlPager(FormNews, 1000))

    C

    FormNews.PagerStyle.NextPageText = more >FormNews.PagerStyle.PreviousPageText = < backFormNews.PaginateRecursive(New ControlPager(FormNews, 1000))

    D

    FormNews.PagerStyle.NextPageText = more >FormNews.PagerStyle.PreviousPageText = < backFormNews.Paginate = True


    正确答案: B
    解析: 暂无解析

  • 第6题:

    单选题
    You have been tasked with creating Business Events for an E-Business Suite workflow project. Whatwould you use to create your Business Events?()
    A

    Oracle Workflow Builder

    B

    Oracle Workflow Definition Loader

    C

    Oracle Business Event Definition Loader

    D

    Workflow Administrator Web page in E-Business Suite


    正确答案: B
    解析: 暂无解析

  • 第7题:

    You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()

    • A、Ensure that the Web control inherits from the WebControl class.
    • B、Ensure that the Web control inherits from the Control class.
    • C、Ensure that the Web control inherits from the CompositeControl class.
    • D、Ensure that the Web control inherits from the UserControl class.

    正确答案:D

  • 第8题:

    You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code. What should you do? ()

    • A、Create a control that derives from System.Web.UI.Control.
    • B、Create a control that derives from System.Web.UI.WebControls.CompositeControl.
    • C、Create a control that derives from System.Web.UI.WebControls.WebControl.
    • D、Create a control that derives from System.Web.UI.UserControl.

    正确答案:B

  • 第9题:

    单选题
    You install the Web Server (IIS) role on a new server that runs Windows Server 2008.  You install a Microsoft .NET Framework 1.0 application on a Web site on the Web server. The company security policy states that all applications must run by using the minimum level of permission.  You need to configure the Web site application so that it has the permissions to execute without creating any other content and without accessing any operating system components. What should you do?()
    A

    Set the .NET Framework trust level to Full for the Web site.

    B

    Set the .NET Framework trust level to Low for the Web site.

    C

    Set the .NET Framework trust level to High for the Web site.

    D

    Set the .NET Framework trust level to Medium for the Web site.


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class. Which form of authentication should you use?()
    A

     Anonymous

    B

     Certificate

    C

     Forms

    D

    Microsoft Windows Integrated Security


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    You are creating a web form with this HTML: 11. 12. 13. 14. 15. Which HTTP method is used when sending this request from the browser?()
    A

    GET

    B

    PUT

    C

    POST

    D

    SEND

    E

    FORM


    正确答案: A
    解析: 暂无解析

  • 第12题:

    单选题
    You develop a Web control. The Web control consists of labels and associated text boxes.You need to ensure that the Web control has both toolbox and visual designer support. What should you do?()
    A

    Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.

    B

    Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.

    C

    Add a Web User Control to your project. Define a class that inherits from UserControl.

    D

    Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.


    正确答案: A
    解析: 暂无解析