Integrating RadRotator with MOSS 2007

3 posts, 0 answers
  1. Hans-Joachim
    Hans-Joachim avatar
    2 posts
    Member since:
    Oct 2012

    Posted 21 Nov 2007 Link to this post

    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. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 21 Nov 2007 Link to this post

    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

  3. Hans-Joachim
    Hans-Joachim avatar
    2 posts
    Member since:
    Oct 2012

    Posted 21 Nov 2007 Link to this post

    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
Back to Top