單項(xiàng)選擇題

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.

微信掃碼免費(fèi)搜題