I have an Ultrawebgrid, below, that is dynamically loads the grid once during initial page_load, but not on postback. Somewhere I must have changed something because it no longer sorts client-side. Any ideas why it won't sort anymore, I don't rebind it, but I didn't think you had to do that with this grid. It is inside an ajax Update Panel which is inside of the TabPanel of a TabContainer.
<igtbl:UltraWebGrid ID="igDataAll" runat="server" DisplayLayout-AutoGenerateColumns="true"EnableAppStyling="True" StyleSetName="Office2007Blue" StyleSetPath="~/ig_res/"DisplayLayout-CellPaddingDefault="5" DisplayLayout-Pager-AllowPaging="true" DisplayLayout-Pager-PageSize="100"DisplayLayout-Pager-PagerAppearance="Both" Height="350px" Width="100%" DisplayLayout-AllowSortingDefault="Yes"><Bands><igtbl:UltraGridBand><AddNewRow View="NotSet" Visible="NotSet"></AddNewRow></igtbl:UltraGridBand></Bands><DisplayLayout BorderCollapseDefault="Separate" CellPaddingDefault="5" Name="igDATAAll"RowHeightDefault="20px" Version="4.00" HeaderClickActionDefault="SortSingle"><FrameStyle></FrameStyle><Pager Alignment="Left" AllowPaging="True" PagerAppearance="Both" PageSize="100"QuickPages="3" StyleMode="Numeric" MinimumPagesForDisplay="2"><PagerStyle HorizontalAlign="Left" VerticalAlign="Middle" /><ComboStyle HorizontalAlign="Left" VerticalAlign="Middle"></ComboStyle></Pager><ActivationObject BorderColor="" BorderWidth=""></ActivationObject></DisplayLayout></igtbl:UltraWebGrid>
Hello dbishop9,
I was not able to reproduce this issue with version 11.1.20111.2064. Please find the attached file and let me know if I have missed something.
Thank you
I am so very sorry, I meant that it isn't paging, not sorting. I don't know what I was thinking. I thought the paging was done-client side by default. Do I need to handle it in the code behind? If so, could you please point me in the right direction? Thanks and sorry again for the mis-communication.
I figured out the issue. On any other page, I would have realized it, but it is on a page with alot of controls and lengthy code-behind. Since I am only loading the grid on demand and not on post-backs, I just needed to reload it on the PageIndexChanged method and all is well.