Telerik Radgrid Next and Previous buttons do not work

2 posts, 0 answers
  1. Vick
    Vick avatar
    1 posts
    Member since:
    Oct 2012

    Posted 10 Oct Link to this post

    Hi Telerik Team,

    I am using Telerik RadGrid. And the controls Next and Previous buttons do not work. But the pagination numbers work.
    I have been using the below controls and they were at the time of 2008 I think. 
    Telerik.Web.UI - Ver 2008.3.1314.35
    Rad Grid - Ver 4.5.0.0

    That time all controls had different dll's.

    My code is as below.

    <telerik:RadGrid ID="rg" runat="server" CellPadding="6" HorizontalAlign="Center" ShowFooter="true" RegisterWithScriptManager="False" RenderMode="Lightweight" Width="90%" DataKeyNames="ContractID" AllowFilteringByColumn="true" OnItemCommand="rg_ItemCommand" OnItemDataBound="rg_ItemDataBound" DataSourceID="SqlDataSource1" GridLines="None" Skin="Office2007" AutoGenerateColumns="false" AllowPaging="true" PageSize="20" AlternatingItemStyle-BackColor="WhiteSmoke">                    
    <GroupingSettings CaseSensitive="false" />
    <ItemStyle CssClass="tableRow" />
    <PagerStyle Mode="NextPrevAndNumeric" ShowPagerText="true"/>
    <HeaderContextMenu>                        
    <CollapseAnimation Duration="200" Type="OutQuint" />
    </HeaderContextMenu>
    <AlternatingItemStyle CssClass="tableRowAlt" />
    <MasterTableView ShowFooter="true" DataSourceID="SqlDataSource1">
    <Columns>
    </Columns>
    </MasterTableView>
    <FilterMenu>
    <CollapseAnimation Duration="200" Type="OutQuint" />
    </FilterMenu>
    </telerik:RadGrid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ProviderName="System.Data.SqlClient" SelectCommandType="StoredProcedure">
    <SelectParameters>
    <asp:Parameter DefaultValue="1" Name="TypeID" Type="Int32" />
    </SelectParameters>
    </asp:SqlDataSource>
  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 11 Oct Link to this post

    Hi Vick,


    The version of the controls you are using is rather outdated. Moreover, note that the Classic controls are no longer supported and it is likely to see unexpected behavior when using them with modern browsers.

    Please upgrade the controls to the latest release and see how they work for you. The current version of the components is 2016.3.914.


    Regards,
    Viktor Tachev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top