单项选择题
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 create a master page named PageBase.master. The master page contains a Label control named lblTitle. You create a content page that references the master page. You need to change the Text property of the master pages lblTitle control from the content page. Which code segment should you use?()
A.
B.
C.
D.
