Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Question about getting Infragistics controls working in SharePoint 2007...
posted

I am working with Infragistics controls (version 6.3.20063.1091) wanted to know what I need to add to the SafeControls collection in my SharePoint's web.config file.  I already got ajax correctly installed along with  another 3rd party control so I'm thinking all thats left for my infragistics controls are to add them correctly to the SafeControls section. 

Normally in the web.config I would add this line to the compliation\assemblies section:

<add assembly="Infragistics2.WebUI.UltraWebGrid.v6.3, Version=6.3.20063.1091, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

But how would I change that to work in the SharePoint 2007 web.config?  Something like...

<SafeControl Assembly="Infragistics2.WebUI.UltraWebGrid.v6.3, Version=6.3.20063.1091, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="???" TypeName="*" Safe="True" /> 

J

  • 12025
    posted

    Hello, 

    Download this sample project that has some prototype SharePoint web parts.  

    This is just a prototype and shows you how to create a web part that can host a Infragistics control and then publish that dll to SharePoint where you can easily consume the WebPart.

     Once you deploy you can add the following in the web.config to make the controls safe.

     <SafeControl Assembly="Infragistics.Web.SharePoint, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" Namespace="Infragistics.Web.SharePoint" TypeName="*" Safe="True" />

     If you plan on using any of our Aikido based controls (ASP.NET AJAX controls), following this blog to set up SharePoint so that you can use ASP.NET AJAX extensions.

     http://sharepoint.microsoft.com/blogs/mike/Lists/Posts/Post.aspx?ID=3

     The dll that you generate from the solution needs to sit in the bin folder of you SharePoint site.

     

    And you will have to create a “ig_res” folder  that will store your style found here (C:\Program Files\Infragistics\NetAdvantage for .NET 2009.1\ASP.NET\Styles) needs to go in the SharePoint site as well. Use the default one to get started.

     

    Hope this helps. 

    -Taz