I had set Alternate CSS URL programmatically. But next CheckBox of "Reset all subsites to inherit this alternate CSS URL" is not checked it self. I want to check it programmatically.

Please Suggest how this can be done

  • nice question bro. :) +1 – SagarPPanchal Feb 26 '14 at 12:36
currentWeb.Site.RootWeb.AlternateCssUrl = filePath

This will apply in all Site & SubSites.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.