I'd like to open a grid at a specified value.
I see this task as composed of two operations:
1) Determine the page number of the page that contains a specified value.
2) Open the grid to that page.
Does anyone have any idea on whether or not this is doable on the server side, or whether it is easy to do with client side calls, or whether I should start looking into a custom client side scripting library that seizes control of the grid, pages through it, and searches the output?
Hello,You can use the property CurrentPageIndex and PageSize of DisplayLayout tag and set suitable value and manipulate paging of grid. Please take a look at the code below:
ASPX<Pager AllowPaging="true" PageSize="4"
C#UltraWebGrid1.DisplayLayout.Pager.AllowPaging = true; UltraWebGrid1.DisplayLayout.Pager.PageSize = 3; UltraWebGrid1.DisplayLayout.Pager.CurrentPageIndex = 3;
Hope this helps.