Before designing a web application using Master pages try to have two master page files: 1) Master page with Header. 2) Master page without Header. Whenever you dont require the header part do the following code protected void Page_PreInit(object sender, EventArgs e) { this.MasterPageFile = "MasterWOHeader.master"; } The Idea behind this is, normally we use to include the common javascript functions in the master page since its a generic container. If you remove the masterpage then it might give you some problem[Since masterpage holds the generic javascript code], its better to embed the common javascript files in both the masterpages and use it in the required scenario. Thanks, Ganesh Kumar
G
ganeshvittal
@ganeshvittal