RadCharts within RadRotator?

2 posts, 0 answers
  1. Greg Harrison
    Greg Harrison avatar
    4 posts
    Member since:
    Sep 2009

    Posted 15 Nov 2010 Link to this post

    Hello,

    I am attempting to place a couple of RadCharts within a RadRotator in order to show one chart at a time and allow the user to scroll between charts. I have pre-built the charts in their own page, and then moved the design of the each chart to an ItemTemplate control within the Items collection of the RadRotator. When I build the project, I get a number of errors related to HtmlGenericControls and unknown server tags.

    Below is a snippet that, when compiled, will show you an example of the errors I'm seeing:

        <telerik:RadRotator runat="server" ID="chartRotator" Width="840px" ItemWidth="800px" Height="400px" ItemHeight="400px" RotatorType="AutomaticAdvance" ScrollDirection="Left" ScrollDuration="7000" WrapFrames="true">
            <Items>
                <telerik:RadRotatorItem runat="server" ID="marketShareItem">
                    <ItemTemplate>
                        <telerik:RadChart runat="server" ID="marketSharePie" DefaultType="Pie" Width="800px" AutoLayout="true">
                            <Legend Visible="true">
                                <Items>
                                    <telerik:LabelItem>
                                    </telerik:LabelItem>
                                </Items>
                            </Legend>
                        </telerik:RadChart>
                    </ItemTemplate>
                </telerik:RadRotatorItem>
            </Items>
        </telerik:RadRotator>

    Am I missing something?

    Thanks,
    Greg
  2. Greg Harrison
    Greg Harrison avatar
    4 posts
    Member since:
    Sep 2009

    Posted 15 Nov 2010 Link to this post

    Oh, I see what I was missing: The "Register" directive for the Telerik.Web.UI namespace!

    I do apologize for this; I'll get the hang of Telerik soon enough.

    Thanks,
    Greg
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top