Master page reference library

Last post 05-07-2007 6:35 AM by Zhao Ji Ma - MSFT. 1 replies.

Sort Posts:

  • Master page reference library

    05-03-2007, 12:20 PM
    • Member
      point Member
    • paolo86
    • Member since 12-01-2006, 8:29 AM
    • Saluzzo -Italy
    • Posts 8

    Hi,

    is possibile to use master page in a refereced library?

    I want to create class library where i put a master page that will be use from web forms in the projects.

    My idea is to create something like template base form, in a referece library, but i don't know is possible

    thanks

  • Re: Master page reference library

    05-07-2007, 6:35 AM
    Answer

    Hi,

    Yes. It is possible. Just put the master page into the App_Code folder. After build, the code-behind file of the master page is built into the assembly. You can add a referece to it later. Please also copy the .master file as well since it is not build into the assembly.

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (2 items)