简体   繁体   中英

How to remove the themed CSS file in an aspx page in a Web Application

I am using a css file in App_Theme in a webform WebApplication using ASP.net 4.6 In one of the page I dont want the Themed CSS file. The reason is that I want to export the content of the page to a word document. If I remove

runat="server" 

from head tag it gives error. Pls let me know if any one has a solution

Please add the below tags in "Page" directive. EnableTheming="false" Theme="" StylesheetTheme=""

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM