I documenti per @MasterType hanno questo esempio.Perché la direttiva @MasterType non è implicita quando si imposta @Page masterPageFIle?
<%@ Page masterPageFile="~/MasterPage.master"%>
<%@ MasterType virtualPath="~/MasterPage.master"%>
Perché è necessario anche @MasterType
? Non è possibile che il compilatore esegua automaticamente le stesse azioni basate esclusivamente su @Page masterPageFile
? Quando non vorresti usare entrambi?
+1 Mi sono chiesto così tante volte! – MPritchard