Hi,
I've a problem with paging on my radgrid.
To fill the DataSource i'm using the event NeedDataSource, and it works.
If i have a lot of rows (>= 100) and I try to change the page, my pager after 11 pages return at the third page..
Why??
If I have under 100 rows the pager works correctly..
This is the block where i put my RadGrid..
01.
<
telerik:RadGrid
ID
=
"grdPorzioni"
runat
=
"server"
Skin
=
"Sunset"
AutoGenerateColumns
=
"false"
AllowPaging
=
"true"
Width
=
"100%"
AllowSorting
=
"false"
EnableViewState
=
"false"
BorderStyle
=
"None"
>
02.
<
PagerStyle
AlwaysVisible
=
"false"
Mode
=
"NumericPages"
ShowPagerText
=
"false"
/>
03.
<
MasterTableView
PageSize
=
"10"
AllowPaging
=
"true"
AllowSorting
=
"false"
ShowHeadersWhenNoRecords
=
"false"
TableLayout
=
"Fixed"
EnableViewState
=
"false"
BorderStyle
=
"Solid"
BorderWidth
=
"1"
>
04.
<
NoRecordsTemplate
>
05.
<
asp:Image
runat
=
"server"
ID
=
"imgNoRecord"
ImageUrl
=
"~/images/__banner.jpg"
Width
=
"60%"
/>
06.
<
br
/>
07.
<
asp:Label
runat
=
"server"
ForeColor
=
"Red"
Font-Bold
=
"true"
ID
=
"noRecord"
Text
=
"Non sono presenti delle porzioni per l'Unità Economica selezionata."
></
asp:Label
>
08.
</
NoRecordsTemplate
>
09.
<
Columns
>
10.
<
telerik:GridBoundColumn
HeaderText
=
"Porzione"
DataField
=
"Id"
HeaderStyle-Width
=
"100"
HeaderStyle-HorizontalAlign
=
"Center"
ItemStyle-HorizontalAlign
=
"Center"
>
11.
</
telerik:GridBoundColumn
>
12.
<
telerik:GridBoundColumn
HeaderText
=
"Descrizione"
DataField
=
"Descrizione"
HeaderStyle-HorizontalAlign
=
"Left"
ItemStyle-HorizontalAlign
=
"Left"
>
13.
</
telerik:GridBoundColumn
>
14.
</
Columns
>
15.
</
MasterTableView
>
16.
</
telerik:RadGrid
>
The Radgrid is inserted into of an ASP panel
Can you help me?
Regards
Cristian