locked
modify web application to use master page RRS feed

  • Question

  • User1769015664 posted

    I have created a smal web application without the Master page.

    How do I modify this app to use Master Page in all asp.net pages?

    Friday, October 2, 2020 6:00 AM

All replies

  • User753101303 posted

    Hi,

    For example https://forums.asp.net/t/1111484.aspx?Convert+normal+aspx+pages+to+using+a+master+page and you can also define a default master page in the web.config file. Depending on your confidence you could also start with a blank or almost blank master page and keep for now most content in the placeholder to proceed in smaller steps and checking each time it works fine (and possibly doing a deployment) before proceeding to the next step.

    Note that adding a container may change client site identifiers and so success can depend if you followed a good practice which is to not hardcode client side identifiers. Anyway as it seems a "small" app (how many web forms do you have ?)

    Friday, October 2, 2020 12:16 PM