locked
how to use paging RRS feed

  • Question

  • User-980271842 posted

    hello friends...

    i want to use paging in telerik:radgrid.

    please tell me how to use the paging. i can use the code below--

    <telerik:RadGrid ID="rgOrders" runat="server" AutoGenerateColumns="False" Width="98%"        Skin="Hay" GridLines="None" onitemcommand="rgOrders_ItemCommand" AllowPaging="true" PageSize="5" OnNeedDataSource="rgOrders_NeedDataSource">       <MasterTableView Width="97%"><PagerStyle Mode="NextPrevAndNumeric" /><%--<CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>--%><%--<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"><HeaderStyle Width="50px"></HeaderStyle></RowIndicatorColumn>
    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"><HeaderStyle Width="50px"></HeaderStyle></ExpandCollapseColumn>--%>
        <Columns>        <telerik:GridDateTimeColumn              HeaderText="Order Date" UniqueName="OrderDate" DataField="OrderDate" DataFormatString="{0:MM/dd/yyyy}" >        </telerik:GridDateTimeColumn>        <telerik:GridBoundColumn              HeaderText="Order Reference" UniqueName="OrderRef" DataField="OrderReference">        </telerik:GridBoundColumn>        <telerik:GridBoundColumn DataField="Name"            HeaderText="Product Name" UniqueName="ProductName">        </telerik:GridBoundColumn>         <telerik:GridBoundColumn DataField="LeftEye"            HeaderText="Left Eye" UniqueName="LeftEye">        </telerik:GridBoundColumn>        <telerik:GridBoundColumn DataField="RightEye"            HeaderText="Right Eye" UniqueName="RightEye">        </telerik:GridBoundColumn>        <telerik:GridButtonColumn HeaderText="Details" CommandName="ViewDetails" Text="View"></telerik:GridButtonColumn>    </Columns>
    <%--<EditFormSettings><EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn></EditFormSettings>--%></MasterTableView>

     

     

    when i can click on 1 2 3 4 5 button it will work correctly but when i can click on |<   <    >   >| like buttons then it will not work.

    pls pls pls help me out..........

    Wednesday, April 13, 2011 7:21 AM

All replies