Focal Point
[CLOSED] programmically redirect to tab

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/559101122

August 26, 2009, 12:56 PM
Kowens
[CLOSED] programmically redirect to tab
I have a situation where I would want to redirect the user to the main (first tab) based on a selection. Can I do this using javascript? If so, how?

This message has been edited. Last edited by: Kerry,


Version: 8.0.0.6
Windows platform
All output formats will probably be used.
September 04, 2009, 10:30 AM
Kerry
Hi Kowens,

A quick search of techsupport site returns the following:

The HTML Composer allows one to write custom javascript code. When in a function like a validation routine the function can change the Tab that is being displayed by executing the following function:

function showAnotherTab(ctrl) {
   var tabcontrol = document.getElementById("tabitem1");
   var e = document.createEventObject();
   tabcontrol.fireEvent('onClick', e );
} //End function showAnotherTab


Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.