Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Canceling Change of Tabs
posted

I'm showing "orders" in an Workspace as Tabs. I want to prevent that the user selects another order (another tab) if the order he is currently in, has been changed. Then the user should be asked if he wants to save the order or not. On cancel - nothing should habe, the current order (tab) should not be left.

My Problem now is, that there is no event "Before_PaneHidden" only "PaneHidden".

So first of all, the tab has allready changed on this event, and further on, i can't cancel this event (well, there is nothing to cancel any more, the pane has already been hidden).

So I want to reactive the pane the user left when i choose "cancel" on my question. Here I recognized the following:

The GroupTabManager fires an event to change the tab. It hides the pane, the pane is hidden. After the other pane has been displayed, I switch back to the last order pane. After all this, so after the pane already has been hidden and the new pane has been shown, I receive "PaneHidden" on the old pane again, because some thing does an "VerifiyIsInView", well and the new pane the user switched to is not in view because i reactivated the old pane.

So I'm running into an endless loop ...

How can I fix this?

  • 71886
    Offline posted

    Hello,

    After some research, the 'Ability to have 'BeforePaneActivate' event' has been determined to be a new feature request.  I have sent your feature request directly to our product management team.  Our product team chooses new feature requests for development based on popular feedback from our customer base.  Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.

    We value your input, and our philosophy is to enhance our toolset based on customer feedback.  If your feature is chosen for development, you will be notified at that time. 

    Your reference number for this feature request is FR13931.

    If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email.  Please include the reference number of your 

    feature request in the subject and body of your email message.  You can reach Developer Support management through the following email address:  dsmanager@infragistics.com

    Thank you for your request.