Creating Global Themes


You can share the same Theme among multiple web applications running on the same web server. A Global Theme can contain both Skin files and Cascading Style Sheet files. Creating a Global Theme is useful when you want to create one company-wide website design and apply it to all your company's applications.

You create a Global Theme by adding the Theme to the Themes folder located at the following path:

WINDOWS\Microsoft.NET\Framework\[version]\ASP.NETClientFiles\Themes


After you add a Theme folder to this path, you can immediately start using the Theme in any file systembased website.

If you want to use the Theme in an HTTP-based website, you need to perform an additional step. You must add the Theme folder to the following path:

Inetpub\wwwroot\aspnet_client\system_web\[version]\Themes


You can copy the Theme to this folder manually or you can use the aspnet_regiis tool to copy the Theme folder. Execute the aspnet_regiis tool from the command line like this:

aspnet_regiis -c


The aspnet_regiis tool is located in the Windows\Microsoft.NET\Framework\[version] folder. You can open a command prompt and navigate to this folder to execute the tool. Alternatively, if you have installed the Microsoft .NET Framework SDK 2.0, then you can execute the tool by opening the SDK Command Prompt from the Microsoft .NET Framework SDK v2.0 program group.




ASP. NET 2.0 Unleashed
ASP.NET 2.0 Unleashed
ISBN: 0672328232
EAN: 2147483647
Year: 2006
Pages: 276

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net