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

n00b needs help with sharepoint 2010 telerik controls

1 Answer 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
robert
Top achievements
Rank 1
robert asked on 02 Jun 2011, 03:05 AM

Hi folks:
Today, i'm trying to get a VS2010 C# Sharepoint 2010 Webpart project (Windows 7 Pro 64-bit with Sharepiont 2010 installed locally for development) to be able to utilize the radpanelbar control.

In Vs2010 in my proejct, i'm able to set a reference to the Telerik.web.ui.dll and telerik.web.design.dll (add->refernce->browese->navigate to C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q1 2011\Bin35.

I use the TOOLS in my vs2010 IDE to add the radpanelbar to my project. it adds a reference as follows:

 

 

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

 

 

 

it compiles well no errors or warnings. i deploy, no issues.
I create a new sharepoint page and at this new visualwebpart1 to this page. it throws an error.:

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.

I searched online for several hours, and Here’s ultimately the links I followed:

 

http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html

 

 

 

 

and

 

 

 

 

 

http://www.telerik.com/help/aspnet-ajax/moss-replace-sharepoint-quick-launch-menu-with-radpanelbar.html

 

 

 

 

I still get the same error from sharepoint, so i was unable to get this issue resolved.

 

 

 

 

 

 

 

As of right now, I have the Telerik.Web.UI and Telerik.Web.Design properly showing up in c:\windows\assembly

 

 

 

So the controls are registered in the GAC on my machine.

 

 

 

I removed the telerik DLLs from the Sharepoint BIN folder C:\program files\common files\microsoft shared\web server extentions\14\bin (I origially tried putting them here thinking they needed to be there fromn another blog i had followed to try to resolve this).

 

 

 

The assemblies are just in the GAC.

 

 

 

I also followed the above first link and tried setting the web.config with the myriad of settings it has you follow.

 

 

 

That file is:

 

 

 

C:\program files\common files\microsoft shared\web server extensions\14\config\web.config

 

 

 

There’s a ton of settings the first link above has you make.

 

 

 

Then I used sharepoint designer 2010 to edit the local sharepoint site, and modified the default.master master page as the second link instructs you to do by addeing the <@register with the telerik assembly reference

 

 

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2011.1.413.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>


My project compiles. tje radpanelbarworks in VS 2010 in design time. But I get the same error when browsing to a page with the web part added.

 

 

 

I’m sure I’m erally close. It’s probably something really stupid now.

i could really use some help figuring out why i get the error when browsing to the page with the web part added. the correlationID when referened in the log file for sharepoint basically says it can't find telerik.web.ui file or dependencies. it's not very helpful.

can someone offer some insights on how to overcome this?

thank you.

1 Answer, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 07 Jun 2011, 01:14 PM
Hello robert,

As I understand - you are trying to implement a RadPanelBar in a custom master page under SharePoint 2010.
Can you open a support ticket and send us the web.config file that you use along with the custom master page that you have created?

All the best,
Kalina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
robert
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Share this question
or