RadPanelBar's ContentTemplate and HeaderTemplate Is Not Supported

2 posts, 0 answers
  1. Duminda
    Duminda avatar
    1 posts
    Member since:
    Aug 2011

    Posted 14 Oct 2011 Link to this post

    Hi,

    I'm using RadControls for ASP.NET AJAX Q1 2010
    Version : 2010.1.519.20
    In my web application I'm using panel bar ,but its generated the following error
    Warning 15 Validation (XHTML 1.0 Transitional): Element 'headertemplate' is not supported. C:\OfficialProject\Project_VS\PracticeManagementSystem\PracticeManagementSystem\EntityManagement2.aspx 16 38 PracticeManagementSystem


    <telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%" 
                        Skin="Vista" OnClientLoad="onLoad" >
                        <Items>
                                    <telerik:RadPanelItem>
                                        <ItemTemplate>
                                        </ItemTemplate>
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem Expanded="true">
                                        <HeaderTemplate>
                                            <div style="float: left; padding-top: 1px; z-index: 2800;">
                                                <telerik:RadMenu ID="RadMenu1" runat="server" OnClientItemClicked="onItemClicked"
                                                    Skin="Forest" Style="z-index: 2900">
                                                    <Items>
                                                        <telerik:RadMenuItem Text="Favorites">
                                                        </telerik:RadMenuItem>
                                                        <telerik:RadMenuItem Text="Records Last Accessed" Selected="true">
                                                        </telerik:RadMenuItem>
                                                          
                                                    </Items>
                                                </telerik:RadMenu>
                                            </div>
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" 
                                                                CssClass="multiPage" Height="250px" Width="100%">
                                                <telerik:RadPageView ID="RadPageView1" runat="server" >
                                                    <div style="height: 100px" >
                                     
                                                    </div>
                                                </telerik:RadPageView>
                                                <telerik:RadPageView ID="RadPageView2" runat="server" >
                                                    <div style="height: 100px" >
                                     
                                                    </div>    
                                                </telerik:RadPageView>
                                            </telerik:RadMultiPage>
                                        </ContentTemplate>
                                    </telerik:RadPanelItem>
                                </Items>
                            
                        <CollapseAnimation Duration="100" Type="None" />
                        <ExpandAnimation Duration="100" Type="None" />
                    </telerik:RadPanelBar>

  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 18 Oct 2011 Link to this post

    Hi Duminda,

    The reason you encounter this error is because we implemented the HeaderTemplate of the RadPanelBar control in version 2010.3.1022 of the Telerik controls. Therefore I would suggest that you upgrade to some of the latest versions of our controls. For more information you can refer to the release notes here.

    Regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top