Hi,
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?
thanks,
KS
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" />
<sectionGroup name="SharePoint">
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
My grid on sharepoint looks like:
:
Hi Khurram,
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:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=SharePoint_Getting_Started.html
Best,
Taz
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/" />
<
infragistics.web
/>
Or maybe it doesn';t go in web.config?!
Khurram
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?
many thanks,
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.
-Taz.
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.
thanks!
Styles still not being applied after reboot :(
Hello,
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:
<http://www.fiddler2.com/fiddler2/>
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.
Hi there,
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:
<http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=WebDataGrid_Filtering.html>
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._grid.Behaviors.CreateBehavior<Filtering>();
This displays the filter controls but when I attempt to apply a filter I get the error in teh image attached.