Page 1 of 1

insert redirect back to tab help

Posted: 2011-06-24 11:41
by mrhankey
hi,

i have a pag which has 4 spry tabs on it. each with an insert record. on my redirect after insertit goes back to the page it was on which is great but i want it to go back to the tab it was on as it always defaults to the first tab.

is there a way to ahve it redirect to that tab?

thanks

Re: insert redirect back to tab help

Posted: 2011-07-06 14:57
by mrhankey
hi guys,

i have worked out how to do the reirection back to tab when inserting however i cannot get the uplaod behaviour redirect to work properly.

i tried modifying the line to ahve this now:

//start Trigger_Redirect trigger
function Trigger_Redirect(&$tNG) {
$redObj = new tNG_Redirect($tNG);
$redObj->setURL("clients_Detail_user.php?ClientID={WADAclients.ClientID}#tabs-11");
$redObj->setKeepURLParams(false);
return $redObj->Execute();
}
//end Trigger_Redirect trigger

but does not redirect to that tab.

it works on insert behaviours no problem. can anyone help?

thanks

Re: insert redirect back to tab help

Posted: 2011-07-15 10:32
by mrhankey
i have managed to resolve the redirect of insert transactions into a table to the appropriate tab by just putting tab#1 etc

however i cannot get this to work with multi upload behaviour.

can anyone shed some urgent light on this?

i tried modifying the upload behavoiur code redirect manualy but it did not resolve.

any help woudl be great.

cheers

Re: insert redirect back to tab help

Posted: 2011-07-16 20:30
by mrhankey
anyone shed any light on this one?

cheers