I have a WebDataGrid that I have put in a webpart using Visual Studio 2010 (Sharepoint solution).
The grid populates and displays data ok but unfortunately I dont see the filtering functionality.
I used the APTCA (are these known as akido controls?!) dlls and have modified the sharepoint web.config.
The link to setting up sharepoint using Akido controls is not working here: http://community.infragistics.com/forums/p/37107/247246.aspx#247246
What else must I do to ensure that I get the full functionality out of this control on sharepoint?
I added the following to sharepoint site's web.config:
<SafeControl Assembly="Infragistics35.WebUI.Shared.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToke=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.Shared" TypeName="*" Safe="True" />
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
My grid on sharepoint looks like:
WebDataGrid is part of the Aikido controlset, so you are using the latest controls. It does require ASP.NET AJAX extensions though, make sure you have the SharePoint webpart to consume those. Also, make sure you have the css referenced correctly so the control styles are pulled in correctly.
Take a look at this help article if you haven't already:
Murtaza (Taz) AbdealiWeb Product Manager - ASP.NET InsiderTwitter - Blog - Email
Thank you for your prompt reponse.
I had followed the instructions on the link you posted and put the styles in the relevant folders.
Not quite sure where in the config file this snippet has to go though:
<infragistics.web enableAppStyling="true" styleSetName="" styleSetPath="~/layouts/ig_res/" />
Or maybe it doesn';t go in web.config?!
Yes, this will sit in web.config.
Sorry, I meant, in which section of the web.config does this snippet go?
Also, does the control pull all data to client before filtering?
If so, is it possible to perform filtering server-side?
Sorry for the confusion. it'll go under the configuration directly in the web.config.
The controld does server-side filtering, make sure you supply the dataset everytime there is an ajax request to filter the data on the server.
Hi, sorry me again!
I added this in the configSection:<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
I added this to SafeControls:<SafeControl Assembly="Infragistics35.WebUI.Shared.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToke=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.Shared" TypeName="*" Safe="True" />I added this after the configSection:<infragistics.web enableAppStyling="true" styleSetName="" styleSetPath="~/layouts/ig_res/" />
After adding the last snippet I get an error when browsing the Sharepoint webpart:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
What am I missing?
Thank you for your assistance.
Apologies, I no longer get an error regarding the config file (I had the infragistics section inside the sharepoint groupSection).
However the styles still are not being applied. I will try restarting.
Styles still not being applied after reboot :(
I would recommend you to use fiddler to debug this issue. Fiddler log will provide you details on response for image and different CSS. If you find any response (4XX), I would recommend you to verify if the files are present on the physical path which can be found from that response. You can also debug permissions issues using fiddler if any on the ig_res folder or on images. The below link will give you more details on fiddler and download:
Additional Note: The above link is neither created nor maintained by Infragistics.
If the issue is still present, provide me with test results of fiddler so I may look in to this.
I hope this helps.
Bhadresh,Developer Support Engineer, MCTSInfragistics
Thank you for your help.
It appears that it is indeed a permissions issue.
I think the documentation here is incorrect: http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=SharePoint_Getting_Started.html
The following code uses the layouts folder and not the _layouts folder:
I changed layouts to _layouts and the styling now appears (although it has an ugly border around the grid)
How do I get the filtering functionality working?
Screen shot attached.
Thanks for the update. Do you have filtering behavior enabled in grid since I was not able to see filter area? If not, I would recommend you to enable filtering. The below link will give more details on this:
If you have already enabled this (filtering) behavior provide me with the markup of the grid so I may look in to this.
Thanks - again, a slight error in the documentation....
I did not want to filter on initial load so all I coded was:
This displays the filter controls but when I attempt to apply a filter I get the error in teh image attached.
I have created private support case CAS-86532-33BS2V in order to look in to this matter. I will update that support case with more details. I will post the resolution on this forum once it reached.
I hope this helps
I have registered my product to my account - so I am a paying customer. Can you please refer to the support ticket you created as I still have problems.Thanks,