In order to set theme globally for application. There are two ways to do that. one is longer and second one shorter way to do that.
1.
Create App_Themes directory for each application. This is special directory. You can copy Theme over here for each application.
2.
Put New theme under Themes directory of aspnet_clientfile directory.
C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727
If themes directory not found then create one. For example if theme name is Green then it should be like
C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\Themes\Green
This will work for all website that already created. In IIS6 website can be created afterwards. so for that this clientfile does not map to new site, following location must contain themes directory and required theme folder.
C:\Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\Themes\Green
After that run following command from studio command prompt
> aspnet_regiis –c
Above setting works for only IIS6 or previous versino of IIS 5.
No comments:
Post a Comment