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

RadRotator adding to site

9 Answers 192 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
David Zurillo
Top achievements
Rank 1
David Zurillo asked on 13 Dec 2007, 01:51 AM
hi

I need to add the radrotator as a web part on the front page of a site in sharepoint - it is a publishing site under moss.

I followed the whitepaper for the menu but it skips off and is different from rad rotator.

is there a simple msi or other option that will create the wsp and install the web part easiliy as im getting lost!

thanks

9 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 14 Dec 2007, 08:50 AM
Hi sQ,

Unfortunately, there isn't a msi file to install the web part automatically.

Please, specify what exactly you have difficulties with and we will try to help you.


All the best,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David Zurillo
Top achievements
Rank 1
answered on 14 Dec 2007, 10:01 PM
i just want to install it in sharepoint as a solution so it shows up in the add web parts area

i have one of the coders creating the wsp for me but it says
Unable to add selected web part(s). A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe.

and it is in the web.config as a safe assembly.

please provide clear instructions on how to add this as a web part in Sharepoint
0
Dimitar Milushev
Telerik team
answered on 15 Dec 2007, 02:19 PM
Hi sQ,

If you haven't tried that yet, you should restart IIS to make sure nothing is cached by Sharepoint.

Another possible cause for this problem is a wrong safe assembly registration in the web.config. If the assembly version or public key listed in your web.config are different from those of the assembly you are using, you will still get the "type is not registered as safe" error.

Sincerely yours,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ahmer
Top achievements
Rank 1
answered on 25 Feb 2008, 01:35 PM

I have introduced Telerik controls to my management and we would have bought that if i am not stuck at this problem

I want to deploy the radrotater in MOSS 2007

I have regeistered the RADrotater dll in GAC

I have copied the script for it here 

    C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadRotator.Net2\2.7.3.0_de81a6506e5a433a\RadControls\Rotator\Scripts\2_7_3

added the web.config entries
      <SafeControl Assembly="RadRotator.Net2, Version=2.7.3.0, Culture=neutral, PublicKeyToken=de81a6506e5a433a" Namespace="Telerik.RadRotatorUtils" TypeName="*" Safe="True" />

      <SafeControl Assembly="RadRotator.Net2, Version=2.7.3.0, Culture=neutral, PublicKeyToken=de81a6506e5a433a" Namespace="Telerik.WebControls" TypeName="*" Safe="True" />

      <SafeControl Assembly="RadRotator.Net2, Version=2.7.3.0, Culture=neutral, PublicKeyToken=de81a6506e5a433a" Namespace="Telerik.RadControlUtils" TypeName="*" Safe="True" />

Now in sharepoint designer

<%@ Register Assembly="RadRotator.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Import Namespace="Telerik.WebControls" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Telerik.RadRotatorUtils" %>
<%@ Page Language="C#" MasterPageFile="~masterurl/default.master" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" %>
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">

<rad:RadTicker ID="RadTicker1" runat="server" UserTickerLines="saassa,asaasas,assaassasaasassaas,saaaaaaaaaaaaaaaaaaa"  AutoStart=true></rad:RadTicker>
<rad:RadRotator ID="radrot" runat="server"
         ScrollDirection="left"
                            ScrollSpeed="30"
                            UseSmoothScroll="false"
                            FrameTimeout="1"
                            Width="435"
                            Height="24"
                            FramesToShow="1"
                            TransitionType="scroll" RadControlsDir="_wpresources/RadRotator.Net2/2.7.3.0_de81a6506e5a433a"></rad:RadRotator>
                            
</asp:Content>

Ticker is working fine but when i put rad rotater MOSS says unexpected error occurred

i know i havent specified any datasource any frametemplate but that does'nt mean that it should crash as it is not crashing in normal aspnet website


Take my words just give me solution i will convince my management to get the complete suite on the same day when problem is solved..


Thanx



0
Peter
Telerik team
answered on 26 Feb 2008, 03:44 PM
Hi Ahmer,

RadRotator requires a data source or otherwise it will throw exceptions. You should have at least a dummy data source for RadRotator with no data. In code behind you can check if the data source is empty and if true, set Visible="false" for RadRotator. I hope this helps.


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ahmer
Top achievements
Rank 1
answered on 01 Mar 2008, 10:44 AM
Thanks Peter
your solution works great ...

but when i expose my site to internet through an extended site i am getting this error

An error occurred during the processing of /_catalogs/masterpage/custom.master. Could not load file or assembly 'RadRotator.Net2' or one of its dependencies. The system cannot find the file specified


although i have placed the assembly in GAC and bin too

0
Rosi
Telerik team
answered on 03 Mar 2008, 08:58 AM
Hello Ahmer,

The problem is very weird - actually we believe this is not a specific RadRotator error but rather a generic ASP.NET issue.

To solve it, could you try removing the reference in your VS.NET project and add it back so that it references the RadRotator.Net2.DLL?

Also, you can try the following solution and see whether the problem is addressed:
  1. Save your work and close Visual Studio.NET
  2. Click Run from Windows Start Menu, type iisreset and press OK (this will reset IIS)
  3. Delete all files and folders from the directories below:
    1. [your _VisualStudio.NET folder]\Framework\v2.0.50727\Temporary ASP.NET Files
      C:\Documents and Settings\[your_windows_username]\VSWebCache\[your_windows_username]
  4. Load and start the sample project
Finally, you can read following KB article from Microsoft:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q306155

Hopefully these resources will help you out figure out what's going on.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ahmer
Top achievements
Rank 1
answered on 04 Mar 2008, 09:06 AM
I integrated the rad control on MOSS 2007 it works fine but some time it gives the exception

Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

when i refresh page 2-3 time or close window and navigates again it works fine.

what to do
0
Rosi
Telerik team
answered on 04 Mar 2008, 09:32 AM
Hello Ahmer,

As our efforts to reproduce the problem were not successful we did a quick Google search for this exception.

Unfortunately, there is nothing more we can do to help you further.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Sharepoint Integration
Asked by
David Zurillo
Top achievements
Rank 1
Answers by
Peter
Telerik team
David Zurillo
Top achievements
Rank 1
Dimitar Milushev
Telerik team
Ahmer
Top achievements
Rank 1
Rosi
Telerik team
Share this question
or