Paging is not working at all in the RAdGrid

1 posts, 0 answers
  1. Perry
    Perry avatar
    62 posts
    Member since:
    Jul 2015

    Posted 25 Aug 2017 Link to this post

    I have a RADGRID running but it will not do paging. I believe I have the settings.  The ASPX setting are below.
    <section id="Grid" class="Grid-container">
        <telerik:RadGrid ID="RadGridInvestigations"
            runat="server"
            AllowPaging="True"
            PageSize="10"
            AllowSorting="True"
            AllowAutomaticInserts="True"
            OnNeedDataSource="RadGridInvestigation_NeedDataSource"
            OnItemCreated="RadGridInvestigation_ItemCreated"
            OnUpdateCommand="RadGridInvestigation_UpdateCommand"
            OnInsertCommand="RadGridInvestigation_InsertCommand"
            Font-Size="Large"
            GroupPanelPosition="Top"
            Width="1051px">
            <HeaderStyle CssClass="Myheader" />
            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
            <MasterTableView
                EditMode="PopUp"
                AutoGenerateColumns="False"
                DataKeyNames="CaseID,CaseName"
                GridLines="Horizontal"
                CommandItemDisplay="Top"
                NoMasterRecordsText="No Records have been entered in the application."
                ShowFooter="False">
                <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
                <Columns>
                    <telerik:GridEditCommandColumn ButtonType="ImageButton"></telerik:GridEditCommandColumn>
                    <telerik:GridBoundColumn DataField="CaseID"
                        HeaderText="Case ID"
                        ReadOnly="true"
                        ForceExtractValue="Always"
                        ConvertEmptyStringToNull="true"
                        Display="false"
                        UniqueName="CaseID" />
                    <%--<telerik:GridBoundColumn DataField="CaseNumber" HeaderText="CaseNumber" UniqueName="CaseNumber" ReadOnly="false" Display="false" />--%>
                    <telerik:GridHyperLinkColumn FilterControlAltText="Filter CaseNumber column"
                        UniqueName="CaseNumber" DataNavigateUrlFormatString="~/Forms/InvWithTips2.aspx?CaseNumber={0}&CaseName={1}"
                        DataTextField="CaseNumber" HeaderText="Case Number"
                        DataNavigateUrlFields="CaseNumber,CaseName"
                        SortExpression="CaseNumber" HeaderStyle-Wrap="false">
                        <HeaderStyle Wrap="False"></HeaderStyle>
                    </telerik:GridHyperLinkColumn>
                    <telerik:GridBoundColumn DataField="CaseName" HeaderText="Name" SortExpression="CaseName"
                        UniqueName="CaseName" Display="True">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="InvestigativeUnit" HeaderText="Unit Assigned" SortExpression="InvestigativeUnit"
                        UniqueName="InvestigativeUnit" HeaderStyle-Wrap="True">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="PrimaryContact" HeaderText="PrimaryContact" SortExpression="PrimaryContact"
                        UniqueName="PrimaryContact">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="PrimaryContactEmail" HeaderText="PrimaryContactEmail" SortExpression="PrimaryContactEmail"
                        UniqueName="PrimaryContactEmail">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="PrimaryContactPhone" HeaderText="Primary Phone" SortExpression="PrimaryContactPhone"
                        UniqueName="PrimaryContactPhone">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DateOpened" HeaderText="DateOpened" SortExpression="DateOpened"
                        UniqueName="DateOpened" DataFormatString="{0:dd/MM/yyyy}">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Status" HeaderText="Status" SortExpression="Status"
                        UniqueName="Status">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DateClosed" HeaderText="DateClosed" SortExpression="DateClosed"
                        UniqueName="DateClosed" DataFormatString="{0:dd/MM/yyyy}">
                    </telerik:GridBoundColumn>
                </Columns>
                <EditFormSettings UserControlName="InvestigationDetailsControl.ascx" EditFormType="WebUserControl">
                    <EditColumn UniqueName="EditCommandColumn1"></EditColumn>
                    <PopUpSettings Width="500px" />
                </EditFormSettings>
            </MasterTableView>
        </telerik:RadGrid>
    </section>
    <telerik:RadInputManager runat="server" ID="RadInputManager1" Enabled="true">
        <telerik:TextBoxSetting BehaviorID="TextBoxSetting1">
        </telerik:TextBoxSetting>
    </telerik:RadInputManager>
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" />
    correct can someone take a look and let me know if you see the proble.
Back to Top