I am using infragistics grid in updateapanel and delpoyed it on sharepoint 2007 sp1 using web part. grid columns get rendered but rows dont show up.
It works outside of sharepoint.
Any help, pointers will be appriciated, I did try all the UpdatePanel Fixes as suggested in MS forums but no luck
Regards.
I am running WSS 3.0 SP1. I've installed NetAdvantage_ASPNET_20083_CLR35.exe. I've downloaded Sample-AJAX-Grid.zip. I've opened the project in VS2008. I've unzipped the CLR20 APTCA-Signed dlls and updated the reference in GridAJAX to point to them. I've compiled the project, copied the Sample.GridAJAX dll and the 3 referenced dlls to the \bin folder of WSS 3.0. I've created the <Safecontrol>, and the Assembly.cs contains using System.Security; and [assembly: AllowPartiallyTrustedCallers()].
Unfortunately, when I go to add the webpart to my Team Site page, I get:
Unable to add selected web part(s).GridAJAX: that assembly does not allow partially trusted callers.
Any idea what I'm missing?
I've looked at those examples, but they could be a bit more helpful. I am still using Visual Studio 2005, so I can't open the Pomegranate project to see how it works. I've looked at the example that shows how to build a web part, but I'm still a bit unclear how to hook the web part to a SharePoint data source.
I also tried inserting a WebGrid into a SharePoint page using SharePoint Designer rather than building a web part with it. I connected it to a SharePoint data source, and at design time it displayed the data perfectly. When I opened the page in a browser, though, the grid did not display any data. The pager showed that there were many pages of data, but none of the data (from a list) appeared.
I would appreciated any help with this.
Getting ASP.NET AJAX to work with SharePoint is a real challenge. I recently put up a blog post that walks you through creating a custom web part that uses an AJAX Update Panel and an WebGrid. Take a look at it and let us know if it address your problem.
I can't find a reference at the moment, but I recall seeing that there are problems using AJAX functionality (including UpdatePanel) within SharePoint. I'll see if I can find where I had seen this information before, unless someone else finds it first.
Yes infragistics controls are working in sharepoint but If i put the grid control in updatepanel thats when i am having this issue of rows not being rendered.
Thanks