Im trying to check the records present in a popup window from a grid.
The items.count returns 0 despite doing a rebind of the popup window prior to the button click.
However if I actually launch the popup window to verify the records there and close it the count of records in this popup is then correct from the grid button click.
How do I get this working correctly without having to launch the popup every time? I assumed a rebind of this window would suffice?