Hi;
I have a problem with a DataPager paging a RadListView. The RadDataPagerButtonField works as expected when page is loaded the first time; one click and the list pages. After the first pageing is not one click enough, you have to click twice (not double click). I have also noticed that changing page size in the RadDataPagerPageSizeField control has the same effect as the initial click on the RadDataPagerButtonField. Seems like something happens with DataPager after the first paging. Any ideas?
I have a problem with a DataPager paging a RadListView. The RadDataPagerButtonField works as expected when page is loaded the first time; one click and the list pages. After the first pageing is not one click enough, you have to click twice (not double click). I have also noticed that changing page size in the RadDataPagerPageSizeField control has the same effect as the initial click on the RadDataPagerButtonField. Seems like something happens with DataPager after the first paging. Any ideas?
<AjaxSettings> <telerik:AjaxSetting AjaxControlID="uxRadPager"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="uxPhotos" LoadingPanelID="uxAjaxLoadingPanel" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="uxPhotos"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="uxRadPager" LoadingPanelID="uxAjaxLoadingPanel" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings><telerik:RadListView runat="server" ID="uxPhotos" AllowPaging="true" OnNeedDataSource="uxPhotos_NeedDataSource" OnItemDataBound="uxPhotos_ItemDataBound" ViewStateMode="Enabled"> <LayoutTemplate> <asp:Table ID="Table3" runat="server" CellPadding="0" CellSpacing="0"> <asp:TableRow> <asp:TableCell> <fieldset runat="server" id="itemPlaceholder" /> </asp:TableCell> </asp:TableRow> </asp:Table> <telerik:RadDataPager ID="uxRadPager" Skin="Vista" runat="server" PagedControlID="uxPhotos" PageSize="10" ViewStateMode="Enabled"> <Fields> <telerik:RadDataPagerButtonField FieldType="FirstPrev" /> <telerik:RadDataPagerButtonField FieldType="Numeric" /> <telerik:RadDataPagerButtonField FieldType="NextLast" /> <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " /> <telerik:RadDataPagerGoToPageField CurrentPageText="Page: " TotalPageText="of" SubmitButtonText="Go" TextBoxWidth="15" /> </Fields> </telerik:RadDataPager> </LayoutTemplate> <ItemTemplate> <fieldset style="float: left; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; vertical-align: middle; text-align: center; width: 90px; border: 0px;"> <asp:Table runat="server" CellPadding="0" CellSpacing="0"> <asp:TableRow> <asp:TableCell Style="position: relative"> <div style="position: relative"> <asp:Image runat="server" ImageUrl="~/Images/ThumbnailBg.jpg" /> <div id="Div1" runat="server" style="position: absolute; left: 10px; top: 10px; z-index: 1;"> <asp:HyperLink runat="server" ID="uxPhotoLink"> <asp:Image runat="server" ID="uxPhoto" /></asp:HyperLink> <div id="Div2" runat="server" style="position: absolute; left: 62px; top: -10px; z-index: 2; height: 20px; width: 20px"> <asp:Image runat="server" ID="uxStatus" ImageUrl="~/Images/StatusEdit.png" /> </div> </div> </div> </asp:TableCell> </asp:TableRow> </asp:Table> </fieldset> </ItemTemplate> </telerik:RadListView>