Template section

3 posts, 0 answers
  1. Steve
    Steve avatar
    1887 posts
    Member since:
    Dec 2008

    Posted 04 May 2011 Link to this post

    I want to have this structure


    So I just want the template area to show a pager count which I define in my javascript.

    How can I get it to just be a blank toolbar "zone" instead of a physical button which gets click events\etc (styling applied on hover\click)?

  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 06 May 2011 Link to this post

    Hello Steve,

    You can add a RadToolBarButton, but set it's Enabled property to false. That way it can't be clicked or give the impression that it can be clicked.

    I hope that helps
  3. Kate
    Kate avatar
    1898 posts

    Posted 10 May 2011 Link to this post

    Hello Steve,

    Did you try to use ItemTemplate of the RadToolBarButton? Here is the code. You could also place any control that you need on the place of the label that is used in the example:
    <telerik:RadToolBar ID="RadToolBar1" runat="server">
                    <telerik:RadToolBarButton runat="server" Text="Button 0">
                    <telerik:RadToolBarButton runat="server" IsSeparator="true">
                   <telerik:RadToolBarButton runat="server" >
                       <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                    <telerik:RadToolBarButton runat="server"  IsSeparator="true">
                    <telerik:RadToolBarButton runat="server" Text="Button 3">

    All the best,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top