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?
1.Set Page.MasterPageFile in the Page's Page_Init event
2.Set Page.MasterPageFile in the Page's OnInit event.
3.Set Page.MasterPageFile in the Page's Page_Load event
4. Set Page.MasterPageFile in the Page's Page_PreInit event.
Answer:4
Posted Date:-2022-02-03 10:42:07