I have added the ig_res folder to my project to take advantage of application styling but it appears that the images it copies into this folder are the exact same images that are in the images folder for ig_common.
Why?
Do I need to save BOTH of these folders when I publish my site? That seems like overkill and a waste of space. Why can't the styles in ig_res just point to the images in the ig_common folder?
I believe you can also tweak your web.config and override these setting globally for the whole application (so that you do not have to explicitly set them for each control instance). It will also be easier to change that - a single place to change the location.
<infragistics.web imageDirectory="~/Infragistics/Images" javaScriptDirectory="~/Infragistics/Scripts"/>
You can also override the default javascript mapping from ig_common to a location inside your web-application main folder. Typically, all IG WebControls have JavaScriptFilename and JavaScriptFileNameCommon properties and you can use them to override the default:
<ignav:UltraWebMenu ID="UltraWebMenu1" runat="server" JavaScriptFilename="" JavaScriptFileNameCommon="" LeafItemImageUrl="" ParentItemImageUrl="" StyleSetName=""> </ignav:UltraWebMenu>
What about the javascript files in ig_common? I would still need to deploy them, correct?
ig_common can be deployed just one to the web-server and can be used to provide styling support for all applications hosted on the server that use IG products.
If you have enabled app styling and use local app styled resources, you do not need ig_common for hte server, e,g.
<ignav:UltraWebMenu ID="UltraWebMenu2" runat="server" DataSourceID="topSiteMap" EnableAppStyling="True" StyleSetName="Nautilus" StyleSetPath="/ig_res">
More info on resources and how they can be deployed can be found in the following blog post by our PM, Devin Rader:
http://blogs.infragistics.com/blogs/devin_rader/archive/2008/02/20/integrating-ultrawebmenu-into-sharepoint-2007-using-office-sharepoint-designer.aspx