Inline code in head tag - ASP.NET

前端 未结 7 1094
旧巷少年郎
旧巷少年郎 2020-12-01 09:05

Is it possible to do something like this in a head tag, of master page, which has runatserver:

 

        
7条回答
  •  感动是毒
    2020-12-01 09:49

    Remove the runat="server" attribute on the opening head tag. This way the asp.net inline code is correctly rendered.

提交回复
热议问题