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

Integrating RadRotator with MOSS 2007

2 Answers 77 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Hans-Joachim
Top achievements
Rank 1
Hans-Joachim asked on 21 Nov 2007, 08:11 AM
After successfully performing the example from telerik whitepaper I tried to include a RadRotator, too. Unfortunately in MOSS script code like

<%# DataBinder.Eval(Container.DataItem, "Text") %>

is not possible. Is there an idea for a MOSS specific replacement? Otherwise I only have the possibility to write a WebPart around it.

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Nov 2007, 11:46 AM
Hi Hans,

Code blocks are not allowed in MOSS by default. However, you can enable code blocks. For example, refer to the following article:

http://www.wssdemo.com/Lists/Resources/DispForm.aspx?ID=923



Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Hans-Joachim
Top achievements
Rank 1
answered on 21 Nov 2007, 02:11 PM
Hi Peter,

thank you very much for your help, it worked. Here the final code:

<radr:RadRotator ScrollDirection="down"
UseSmoothScroll="false" FrameTimeout="0"
Width="200" Height="80" TransitionType="scroll"
FramesToShow="2" id="Rotator1" runat="server"
RadControlsDir="/_wpresources/RadControls"
ScrollSpeed="30" DataSourceID="RadRotatorListe1">
 <FrameTemplate>
    <span style="font-size:larger; font-weight:bold; color:maroon">RadRotator
    <%# DataBinder.Eval(Container.DataItem, "Title") %></span></FrameTemplate>
</radr:RadRotator>
<br><br>
<SharePoint:SPDataSource runat="server" DataSourceMode="List" UseInternalName="true"
selectcommand="&lt;View&gt;&lt;/View&gt;" id="RadRotatorListe1">
<SelectParameters>
<asp:Parameter Name="ListName" DefaultValue="RadRotatorListe" />
</SelectParameters>
</SharePoint:SPDataSource>

"RadRotatorListe" is a user defined list.

Regards,
Hans-Joachim
Tags
Sharepoint Integration
Asked by
Hans-Joachim
Top achievements
Rank 1
Answers by
Peter
Telerik team
Hans-Joachim
Top achievements
Rank 1
Share this question
or