I was wondering if there is a way to jump to a specific group in the grid. I have a grid that has paging turned on. The groups are spread across the pages and I would like to allow the user to jump to page X where Group 3 starts.
Thanks
Try the code snippet below to achieve the scenario. Here I group based on the "ContactName" and then on clicking the button I jump to a page with a specific grouping eg in this case: "Annette Roulet"
Thanks that did the trick. Just two additional points.
1) You have to account for the style formatting in the comparison.
2) You have to adjust the comparison to allow for addtional info in the group header.
This is what I ended with-
If
arr(1).TrimStart().StartsWith("<strong>" & CType(e.Item.FindControl("DropDownList1"), DropDownList).SelectedValue & "</strong>") Then
Where the dropdown held the grouping I wanted to jump to. I was thinking of using a contains instead of startswith but I wasn't sure I wanted to be that vague.