Hello,
I've been working with radgrids lately and they are working very inconsistently for me.
Here is my latest grid:
[CODE] <telerik:RadGrid ID="PermissionsGrid" runat="server" AllowPaging="True" CellSpacing="0" GridLines="None" AutoGenerateColumns="false" OnPageSizeChanged="PermissionsGrid_PageSizeChanged" OnPageIndexChanged="PermissionsGrid_PageIndexChanged" OnNeedDataSource="PermissionsGrid_OnNeedDataSource" EnableLinqExpressions="False" Skin="Tabbed" EnableEmbeddedSkins="False" AllowCustomPaging="True" OnPreRender="PermissionsGrid_PreRender" OnInit="PermissionsGrid_Init"> <ClientSettings> <Selecting AllowRowSelect="false"></Selecting> <Scrolling AllowScroll="True" UseStaticHeaders="true"></Scrolling> <Resizing AllowColumnResize="True" /> </ClientSettings> [/CODE]
However the pageindexchanged event was not fiiring, therefore I added rebind on postback, which then fired onneeddatasource which made the page index changed event fire only then, which was very weird, as well it only worked if i did databind on the radgrid once again (rebind was not working).
Now I am having problem with PageSizeChanged event, was not inteding to put it, but it is not working for me at all. However this time it's neither fiiring even after rebinding on postback and I cant seem to find why.
Init and prerender are only for nestedViewTemplate purposes, therefore there is nothing interesting there.
I am using one of the newer telerik controls (2015.2.623.35)
As well as the pager dissapears even if I set pager style on mastertableview as always visible, on in the grid itself and even in the code, it does not intend to stay even with all this code on its back. I am out of ideas and I need help with this.