You experience one or more of the following symptoms when you work with Dynamic Web Templates and with ASP pages in Microsoft Office SharePoint Designer 2007:
| You attach a Dynamic Web Template to an ASP page. When you view the ASP page, you notice that some code in the ASP page has been removed. You do not receive a warning message before the code is removed from the ASP page. |
| You attach a Dynamic Web Template to an ASP page, and then you change some code in the Dynamic Web Template. When you view the ASP page, the ASP page is not updated with the changes that you made to the Dynamic Web Template. You experience this symptom even though SharePoint Designer 2007 displays a message that states that the ASP page is updated. |
This problem occurs if one of the following conditions is true:
| Code is located before the <html> tag or in the <head> tag in the ASP page. |
| Code is located before the <html> tag in the Dynamic Web Template. |
If code is located before the <html> tag in an ASP page, this code is removed when you attach a Dynamic Web Template to the ASP page. When this occurs, notice that code in the DOCTYPE element is not removed. If code is located in the <head> tag in an ASP page, this code is removed when you attach a Dynamic Web Template to the ASP page.
If you change or add code that is located before the <html> tag in a Dynamic Web Template, the ASP page is not updated with these changes when you attach the Dynamic Web Template to an ASP page.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how to work with Dynamic Web Templates in SharePoint Designer 2007, click
Microsoft Office SharePoint Designer Help on the
Help menu, type
dynamic Web template, and then click
Search to view a list of relevant topics.