Using themed css files requires a header control on the page. (e.g. <head runat=“server” />)

前端 未结 7 958
[愿得一人]
[愿得一人] 2021-02-12 15:41

I\'m working on asp.net web project. When I run the project, It works correctly. But In server, I got the following error. How to solve this problem?

Using theme         


        
7条回答
  •  执笔经年
    2021-02-12 16:22

    i want to extend the answer of "Suvendu Shekhar Giri". If you have many pages that does not means to render any html and just write their reponse at stream,i.e for ajax call. Place all such kind of pages into a single folder and add web.config in this folder. Add the following tag in this web.config file

    pages styleSheetTheme="" theme=""

    Hope this will help .

提交回复
热议问题