Unplanned
Last Updated: 30 Jan 2023 13:54 by George
George
Created on: 30 Jan 2023 13:23
Category: TabStrip
Type: Feature Request
11
Cancellable event for TabStrip navigation

Hello,

Please add a new TabStrip event for user navigation that can be cancelled via the event arguments (e.g. args.IsCancelled = true).

Currently, we can use ActiveTabIndexChanged and not update the ActiveTabIndex value. However, this only works if ShouldRender() returns true.

 

1 comment
George
Posted on: 30 Jan 2023 13:54
I don't want the control to directly activate the selected tab. Instead I want to navigate to a new URL with a query string param of the page to select. Cancelling the activation and allowing the control to redraw once the new ActiveTabIndex has flowed down from the page would work better for me.