hi guys,
I have a grid with paging mode "NextPrevAndNumeric".
The numeric and page-size-selecting work fine, however, the Next and Prev buttons doesn't work. The page refreshes but data remain the same as before.
here is my code: (dataSource is set in .cs file)
I have a grid with paging mode "NextPrevAndNumeric".
The numeric and page-size-selecting work fine, however, the Next and Prev buttons doesn't work. The page refreshes but data remain the same as before.
here is my code: (dataSource is set in .cs file)
<telerik:RadGrid runat=
"server"
id=
"fr_grid"
AutoGenerateColumns =
"False"
GridLines=
"None"
Width=
"99%"
Height=
"360px"
HorizontalAlign=
"Right"
Font-Size=
"Small"
AllowPaging=
"True"
AllowSorting=
"True"
Visible=
"True"
OnDataBound=
"grid_data_bound"
PageSize=
"10"
OnItemDataBound=
"fr_grid_ItemDataBound"
>
<HeaderStyle CssClass=
"fr_grid_header"
/>
<ItemStyle CssClass=
"fr_grid_row"
/>
<AlternatingItemStyle CssClass=
"fr_grid_alt_row"
/>
<SelectedItemStyle CssClass=
"fr_grid_selected_row"
/>
<MasterTableView Width=
"100%"
TableLayout=
"auto"
/>
<PagerStyle Mode=
"NextPrevAndNumeric"
AlwaysVisible=
"true"
/>
<ClientSettings>
<Selecting AllowRowSelect=
"True"
></Selecting>
<Scrolling AllowScroll=
"True"
SaveScrollPosition=
"True"
ScrollHeight=
"350px"
></Scrolling>
</ClientSettings>
</telerik:RadGrid>