Hi,
I am using a RadGrid control in an radAjaxManager in a DNN environment.
The grid is databound to a DataSet.
The grids guts are similar to the cardview in the RadGrid examples which uses a Masterview and an Itemtemplate.
Here is the problem:
The pager mode is set to "NextPrevAndNumeric" and everything is working dandy...except when using the Prev and Next options.
It appears that they only recognize the first 2 pages no matter what the page size.
I can select the page number and get the correct page but, clicking the next or previous does not not behave as expected.
I can get the previous and next options to work properly if I set teh enableSEOPageing to true. However, this kills my PageSize from sticking as you page through the grids pages and so has been discarded in teh example.
Here is the markup:
Thanks in advance!
I am using a RadGrid control in an radAjaxManager in a DNN environment.
The grid is databound to a DataSet.
The grids guts are similar to the cardview in the RadGrid examples which uses a Masterview and an Itemtemplate.
Here is the problem:
The pager mode is set to "NextPrevAndNumeric" and everything is working dandy...except when using the Prev and Next options.
It appears that they only recognize the first 2 pages no matter what the page size.
I can select the page number and get the correct page but, clicking the next or previous does not not behave as expected.
I can get the previous and next options to work properly if I set teh enableSEOPageing to true. However, this kills my PageSize from sticking as you page through the grids pages and so has been discarded in teh example.
Here is the markup:
| <strong>TEST GRID</strong></p> |
| <telerik:RadGrid ID="RadGrid3" AllowPaging="True" OnNeedDataSource="RadGrid3_NeedDataSource" |
| runat="server" GridLines="None" Width="100%" EnableViewState="true"> |
| <PagerStyle Position="TopAndBottom" AlwaysVisible="true" ShowPagerText="true" Mode="NextPrevAndNumeric" ></PagerStyle> |
| <MasterTableView ShowHeader="false" AllowPaging="True" > |
| <ItemTemplate> |
| <asp:Panel runat="server" ID="ItemContainer" style="width: 645px;"> |
| <table style="width: 645px;"> |
| <tr> |
| <td valign="top" class="style8" colspan="4"> |
| <asp:HyperLink runat="server" ID="HyperLink3" Text='<%#Eval("Product")%>' Font-Bold="True" |
| NavigateUrl='<%#Eval("Url")%>' ToolTip="View Product"></asp:HyperLink> |
| </td> |
| <br /> |
| </tr> |
| <tr> |
| <td width="25%" align="center"> |
| <asp:HyperLink ID="HyperLink2" runat="server" Text="" NavigateUrl='<%#Eval("Url")%>'> |
| <asp:Image ID="rdlImage" BorderStyle="Solid" BorderColor="#8b847e" BorderWidth="1" |
| runat="server" ImageUrl='<%# Eval("ImageUrl")%>' ToolTip="View Product" /></asp:HyperLink> |
| </td> |
| <td class="style9"> |
| <label style="font-family: Arial; font-size: 8pt"> |
| <b>Manufactuer:</b> |
| <%#Eval("Manufacturer")%></label><br /> |
| <label id="PNum" style="font-family: Arial; font-size: 8pt"> |
| <b>Part Number:</b> |
| <%#Eval("Part Number")%></label><br /> |
| <label style="font-family: Arial; font-size: 8pt"> |
| <b>Manfacturer Part Number:</b> |
| <%#Eval("Man Part Number")%></label><br /> |
| <label style="font-family: Arial; font-size: 8pt"> |
| <b>Description:</b> |
| <%#Eval("Description")%></label> |
| </td> |
| <td valign="middle" align="center"> |
| <asp:Panel ID="pnlPrice" runat="server"> |
| </asp:Panel> |
| <br /> |
| <div style="border-width: 1px; border-style: dotted; background-color: #E2E2E2; text-align: center; |
| width: 100px;"> |
| <asp:HyperLink runat="server" ID="lViewProduct" Text=" View Product " Font-Bold="True" |
| NavigateUrl='<%#Eval("Url")%>'></asp:HyperLink> |
| </div> |
| <br /> |
| <div id="divAddToCart" runat="server"> |
| <a class="jsaddtocart" href='<%# ConstructAddToCartURL(Eval("ProductID"),Eval("VariantID")) %>'> |
| <span class="jshideme">Add to cart</span></a><p> |
| </p> |
| </div> |
| </td> |
| </tr> |
| </table> |
| </asp:Panel> |
| </ItemTemplate> |
| </MasterTableView> |
| </telerik:RadGrid> |
Thanks in advance!