Urgend
Under default web sites we have after installing NetAdvantage ASP.NET 2010.2 an virtual directory ig_common. A custom website with Webgrid or HierarchicalGrid search in the ig_res folder.
I will use Hierarchical or normal WebGrid in Visual Web Part in Sharepoint 2010. How can i create an own ig_res under Sharepoint Web Site Directory under Inetpub\wwwroot same in the default web sites.
I already create an Application named ig_res same as in default web sites (ig_common) in IIS and show to the physical directory Inetpub\wwwroot\aspnet_clients\infragistics\20101CLR35\styles.
But this is not enough I think. Some Styles I can see in my visual web part, but some not. Also Scripts the Grid needed.
How can I build this for wwwroot for Sharepoint 2010. This is an urgend question, please!
Hey aiainc,
sorry for my late answere but I was ill last week and not in Office.
In my workaround, all is work if I set the folders and in web.config the path.
I have no idea, so ask Infragistics. Other user wan't a solution too about this problem.
Forget it! I modified my CSS files...
Thanks!
Hi Ralf.
First, thank you very much for your reply.I tried your example and if now I have color in my infragistics components, in my WebHoerarchicalDataGrid, I don't have alternate color between each row like my WebHierarchicalDataGrid than I placed in a standard website application (outside of SharePoint). Yet I copied the same CSS files in the ig_res directory. Do you have any idea why?
( I attached a print screen of the grids.. one of my standard web application, the other in sharepoint)
Stephps, sorry or my english!
I write a mistake in section 2.
2. create folder ig_common under LAYOUT
copy the follow elements into the new ig_common folder.
C:\inetpub\wwwroot\aspnet_client\Infragistics
in my case only 20103CLR35 folder, 20103CLR4 folder, Images folder and the web.config file.
Sorry!
copy the ig_res and ig_common from the inetpub directory to the LAYOUTS Folder of Sharepoint.
if you have not this folder under Inetpub so you can create it by yourself:
1. create folder ig_res under LAYOUT
copy all elements from the follow folder to the new ig_res folder:
C:\Users\Public\Documents\Infragistics\NetAdvantage 2010.3\ASP.NET\StyleLibraries
in my case only 20103CLR35 folder 20103CLR4 folder and Images folder.
-----------------------------------------------------------------------------------------------------------
In Web.config you must include the follows:
<configSections> <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
......
</configSections> <infragistics.web enableAppStyling="true" styleSetName="" styleSetPath="~/_layouts/ig_res/" imageDirectory="~/_layouts/ig_common/Images/" />
in SafeControls section include this:
<SafeControls> <SafeControl Assembly="Infragistics35.WebUI.Shared.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.Shared" TypeName="*" Safe="True" />
include at end of the assembly section the assembly you will use:
<add assembly="Infragistics35.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add assembly="Infragistics35.WebUI.Misc.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add assembly="Infragistics35.WebUI.Shared.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add assembly="Infragistics35.WebUI.UltraWebGrid.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add assembly="Infragistics35.WebUI.UltraWebTab.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> </assemblies>
Thats all.
Hope it's helpful for you.
Regards
Ralf