Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
In my application ,I have a master page where i have included more than 10 .js files and some .css files .
In sample.aspx page I have another set of .js file and .css file.

I getting a big problem in this form means css completly collapsed,so I have to exclude those file which i have on master page and i Can't remove those file from master page because my others forms are using those file ,Is there any solution to exclude those script tags in only sample.aspx page

Thanks,
KF
Posted
Updated 10-Apr-15 20:21pm
v2
Comments
Can't you directly remove them from the page?
King Fisher 11-Apr-15 5:05am    
Its in master Page,Tadit .If i removed that then i have add those files in each page.
No need to remove from Master. You should actually redefine the styles in Content page again, so those will be reflected. One more way is to mark "!important" with the styles, which you want to apply.
King Fisher 11-Apr-15 6:38am    
I have some css files in master which given by my Designing team,Now i need to add Bootstrap css for that specific page,So i have included the online file from here
http://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_default&stacked=h
King Fisher 11-Apr-15 6:39am    
Now my form looks so ugly, So i want to Remove those Files and Bootstrap Source.

1 solution

You cannot remove, but you can override. The later will always override the earlier . Check this out: http://stackoverflow.com/questions/6064214/removing-css-on-webpage-from-masterpage[^]
 
Share this answer
 
v2
Comments
King Fisher 11-Apr-15 5:07am    
I think its useful, i will check and let you know master.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900