This is a migrated thread and some comments may be shown as answers.

RADGRID inside a MOSS 2007 Webpart

7 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Courtenay
Top achievements
Rank 1
Courtenay asked on 23 Jul 2008, 04:17 AM
I cant seem to get this to work. Ive followed the guide completely including:

1. installed the ajax extensions
2. added all the necessary ajax web.config stuff
3. Drag and drop Telerik.Web.UI.dll into the GAC
4. added the safecontrol for this as such

<SafeControl Assembly="Telerik.Web.UI, Version=2008.1.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True"  />
<SafeControl Assembly="Telerik.Web.UI, Version=2008.1.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" /> 

with the correct version.

and the error i get when i add these safecontrols is:

Parser Error Message: This page has encountered a critical error. Contact your system administrator if this problem persists.

Source Error:

Line 3:  <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
Line 4:  <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
Line 5: <%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" originalAttribute="src" originalPath="~/_controltemplates/Welcome.ascx" %>

when i take out the safecontrol the page works fine?

7 Answers, 1 is accepted

Sort by
0
Leon King
Top achievements
Rank 1
answered on 24 Jul 2008, 01:02 AM
help?
0
Sebastian
Telerik team
answered on 24 Jul 2008, 06:09 AM

Hi guys,

Does the user control which generates the exception hosts the grid instance (Welcome.ascx)? If so, can you please check whether stripping the grid control from it addresses it?

Additionally, I suggest you examine the 'Integrating RadControls in MOSS' chapter from the online documentation which elaborates on how to integrate our controls under Sharepoint environment:

http://www.telerik.com/help/aspnet-ajax/introduction.html

Kind regards,

Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Leon King
Top achievements
Rank 1
answered on 24 Jul 2008, 06:14 AM
hi there,

the welcome.ascx does not host it. this is standard control within sharepoint. does this build of the telerik.web.ui.dll support the sharepoint functionality? because ive tried to install this on two separate instances of sharepoint?
0
Sebastian
Telerik team
answered on 24 Jul 2008, 06:24 AM
Hello Leon,

RadControls for ASP.NET AJAX can be integrated under MOSS as explained in the chapter from the documentation I linked in my previous reply. The error indicates that it is generated by the below-mentioned user control, hence I assume that if you address it your site should function normally.

Regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Leon King
Top achievements
Rank 1
answered on 24 Jul 2008, 06:30 AM
the welcome.ascx control works fine though. as soon as i put the safecontrol in for the telerik assembly, it spins this error. it seems that the telerik control is affecting the welcome.ascx control, but how?
0
Sebastian
Telerik team
answered on 24 Jul 2008, 06:47 AM
Hello Leon,

Unfortunately from the information provided so far I am not able to determine the exact cause of the issue you are facing in this particular case (since we have not been contacted with regards to a similar problem before).

Can you please check whether migrating to the Q1 2008 SP2 version of RadControls for ASP.NET AJAX (2008.1.619) or the Q2 2008 release which will be announced later today alleviates the abnormality? Upgrade instructions you can find in this KB article on our site.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
TerraForum
Top achievements
Rank 1
answered on 21 Oct 2008, 10:17 AM
Hi Courtnay,

i hope you have foud your way around this issue, but since i just overcame this, and i did not see any answers for this, anywhere in the forum, i'm posting what i did here, that worked:

. Try REMOVING from the version in the safecontrol entries the '.35' part. leaving just something like this:

<

 

SafeControl Assembly="Telerik.Web.UI, Version=2008.2.1001, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />

 

<

 

SafeControl Assembly="Telerik.Web.UI, Version=2008.2.1001, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />

 

Tags
Grid
Asked by
Courtenay
Top achievements
Rank 1
Answers by
Leon King
Top achievements
Rank 1
Sebastian
Telerik team
TerraForum
Top achievements
Rank 1
Share this question
or