@MasterType के लिए दस्तावेज़ों में यह उदाहरण है।@Page masterPageFIle को सेट करते समय @MasterType निर्देश का पालन क्यों नहीं किया जाता है?
<%@ Page masterPageFile="~/MasterPage.master"%>
<%@ MasterType virtualPath="~/MasterPage.master"%>
@MasterType
क्यों आवश्यक है? संकलक स्वचालित रूप से @Page masterPageFile
पर आधारित समान क्रियाएं नहीं ले सका? आप दोनों का उपयोग कब नहीं करना चाहेंगे?
+1 मैंने सोचा है कि इतनी बार खुद! – MPritchard