This is a migrated thread and some comments may be shown as answers.

[Solved] Numeric Pages on Pager Rendering Wrong

1 Answer 107 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Martin Laritz
Top achievements
Rank 1
Martin Laritz asked on 18 Dec 2009, 07:44 PM
The numeric pages on the Pager are not showing up right in my project.  If I create a new project, and add in the same code, it works just fine.  But in my work project, the current page is not visible and the left part of the background image is cut off.  I also cannot do anything with AJAX (200 page from server, nothing updates).

<html xmlns="http://www.w3.org/1999/xhtml"
<head id="Head1" runat="server"
  <title>Untitled Page</title> 
</head> 
<body> 
  <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
    <telerik:RadGrid ID="RadGrid1" AllowSorting="true" AllowPaging="true" PageSize="5" runat="server"
        <PagerStyle Mode="NextPrev" /> 
    </telerik:RadGrid> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadGrid1"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelRenderMode="Block" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
  </form> 
</body> 
</html> 




I am not getting any 404 errors (expect when I postback, I get an error saying this._imageDomElement is null in the WebResource.axd for the ScriptManager Hidden Field).

Anyone run into this before and fix it?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 19 Dec 2009, 11:45 AM
Hi Martin Laritz,

Unfortunately I was not able to replicate the issue you are facing. Please find attached a simple working project which is working properly. Give it a try  and let me know what is the difference in your scenario.

Additionally, please note that in order to display numeric pages you should set PagerStyle.Mode property to NumericPages or NextPrevAndNumeric.
For  more information about Grid Pager items, please check out this help topic.

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Martin Laritz
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or