单项选择题

You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested.
Which code segment should you use?()

A.
B.
C.
D.

<上一题 目录 下一题>
热门 试题

单项选择题
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do? ()

A. Set Page.MasterPageFile in the Page's Page_Init event.
B. Set Page.MasterPageFile in the Page's OnInit override.
C. Set Page.MasterPageFile in the Page's Page_Load event.
D. Set Page.MasterPageFile in the Page's Page_PreInit event.

单项选择题
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do?()

A.SetPage.MasterPageFile in the Page’sPage_Initevent.
B.SetPage.MasterPageFile in the Page’sOnInit event.
C.SetPage.MasterPageFile in the Page’sPage_Loadevent.
D.SetPage.MasterPageFile in the Page’sPage_PreInitevent.

相关试题
  • You are creating a Web application...
  • You create a Web Form. The Web F...
  • You create a Web Form. The Web F...
  • You are creating a composite contro...
  • You create a server control that i...