Hi,
I like to set the css path for all Infragistics control to one path and the images to another path. Can I accomplish that by configuring the web.config?
Thank you,
Trent
Hi tnguyen13,
The IG controls have a ig_res folder that contains all the styles; each style will have a sub-folder for its images (http://help.infragistics.com/Help/NetAdvantage/ASPNET/2012.2/CLR4.0/html/Web_Enabling_Application_Styling_Using_the_Web_Config_File.html).
Are you aiming to separate out the images folder from ig_res? And, then to have it called in the web.config (...infragistics.web styleSetName="Default" styleSetPath="~/ig_res"/)? The infragistics.web tag does not currently have a property to set the path for the images folder separately.
If so, can you tell me your objective for why you want to take this approach? Perhaps I can offer an alternative approach.
Thanks,
Troy
Hi Troy,
On our sites, the css are only allow in the theme folder. Also, our images are in an "image" folder, which is not in the theme folder. It is purely for organizable purposes. Another issue is that the Infragistics control automatically add the css link with the "/ig_res/" folder in the html. But since the css file doesn't exist in the "/ig_res" folder, my firewall program tells me that there is a missing file. Hence I would like to control where Infragistics locate the css and images. But it looks like that is not possible.