Your developed application contains master page named ProductMaster.master which contain public method. You want to access this method from content page. How you would achieve this thing ?

 Posted by Rajkatie on 8/29/2013 | Category: .NET Framework Interview questions | Views: 4009 | Points: 40
Select from following answers:
  1. Add the following directive to content page <%@ MasterType VirtualPath="~/ProductMaster.master" %>
  2. Add the following directive to content page <%@ PreviousPageType VirtualPath="~/ProductMaster.master" %>
  3. Set the Explicit attribute in the @ Master directive of the ProductMaster.master page to true
  4. All Above

Show Correct Answer

| Alert Moderator 

Comments or Responses

Login to post response