1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Using RadRotator in News Template

Using RadRotator in News Template

3 posts, 1 answered
  1. SVA Webmaster
    SVA Webmaster avatar
    85 posts
    Registered:
    18 Jul 2007
    07 Jun 2011
    Link to this post
    I created a new template within the New list settings with the intention of wanting to use a RadRotator to scroll my news titles. I used the code below in the template that ultimately results in a "error parsing template" message. What am I missing here?

    <%@ Control Language="C#" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.ContentUI" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.Comments" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.PublicControls.BrowseAndEdit" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
     
     
     
    <div id="home-top-scroller-wrapper">
            <div style="float: left; width: 105px;">
                SVA HEADLINES:</div>
            <div style="float: right; width: 805px;">
                <telerik:RadRotator ID="rrHeadlines" runat="server" CssClass="scroller"
                    FrameDuration="0" Height="30px" ItemHeight="30px" ItemWidth="805px" ScrollDuration="15000"
                    Width="805px" AppendDataBoundItems="True">
                    <Items>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
                                 
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                    </Items>
                    <ItemTemplate>
                      <sf:DetailsViewHyperLink TextDataField="Title" ToolTipDataField="Description" runat="server" />
                    </ItemTemplate>
                </telerik:RadRotator>          
            </div>
        </div>
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    09 Jun 2011
    Link to this post
    Hi Craig ,

    You can use this template only with a custom widget. The default News control requires
    RadListView and Pager controls in its template

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. SVA Webmaster
    SVA Webmaster avatar
    85 posts
    Registered:
    18 Jul 2007
    09 Jun 2011
    Link to this post
    Thanks.
3 posts, 1 answered