gswider
November 30, 2023, 11:58am
1
Is there anyway to keep tabs selected when moving between pages?
For example, say I have 2 pages. Page 1 and Page 2.
on Page 1 I have a UD TABs component.
If i select a tab, and go to page 2, when I go back to page 1, is there a way for the tab to remember which tab I was on when i go back to the page?
rstolpe
November 30, 2023, 4:55pm
2
You can store it in a Session variable.
I haven’t tested but I’m guessing that it would be possible to do so.
Or use global
gswider
November 30, 2023, 5:06pm
3
What would I store in a session variable?
rstolpe
November 30, 2023, 6:26pm
4
The event data from the tabs so it remember what tab it was on
gswider
November 30, 2023, 6:52pm
5
It’d be great if you could show an example, when you have some time
Thanks for the help
rstolpe
November 30, 2023, 7:03pm
6
Sure thing
I’m not at my computer now and that’s why I haven’t posted a snippit of it.
But when I’m back I’m post it
1 Like
gswider
December 5, 2023, 10:02am
7
Seems this wasn’t possible after I raised a support ticket.
It is being added to V4.3.
Relevant github issue:
opened 07:43PM - 30 Nov 23 UTC
closed 02:50PM - 04 Dec 23 UTC
enhancement
PowerShell Universal
completed
support ticket
### Summary of the new feature / enhancement
We should have some way of achievi… ng this. We don't even provide an -ActiveTab parameter to New-UDTabs so you can't implement it yourself.
### Proposed technical implementation details (optional)
_No response_