none
Programmatically Change Theme of SPWeb

    Question

  • How do you programmatically change the theme on an SPWeb? For whatever reason the following code (which works in a feature receiver) isnt working on established sites.

    web.ApplyTheme("Jet");
    web.Update();

    Please note Jet isnt the theme I want but even it doesnt work Also note that the version of sharepoint I'm working with appears to be in the very early alpha stage of development, so please keep that in mind when suggesting solutions

    much like this forum...


    • Edited by George Takei Tuesday, May 1, 2012 8:21 PM
    • Edited by Rock Wang– MSFT Thursday, May 3, 2012 1:51 PM please don't use abusive words,thanks for your understanding
    Tuesday, May 1, 2012 8:20 PM

All replies