How to assign a master page to a existing .aspx page ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When assigning an existing .aspx page to a master page all the basic elements of a web-page now resides with the master page like head, body, title etc. Hence if your page is using these elements for purpose like giving title to the webpage, defining javascripts in the tag… all these operations now need to be done on the master page. But if you need to assign these elements the respective values at child – page level then you need to define a content place holder in the head tag of the master page. Another content place holder should be placed within the body of the master-page.
At the child-page you will be having two content place holders, one for head and other for body. After which you will need to put the needful code in the respective content place holders.