Autor Tópico: Problema no controle com o chrome  (Lida 1107 vezes)

cae1981

  • Novato
  • *
  • Mensagens: 28
Problema no controle com o chrome
« Online: Agosto 07, 2013, 03:29:40 pm »
Tenho um controle que no validade dá um commit_trans() e logo em seguida da um sc_redir com o target = "_blank",
funciona normalmente no IE e no firefox, porem no chrome ele executa o commit e abre a janela,
só que no controle ele perde o CSS e imprime o código CSS na tela:

.scToolbar { } .scToolbarPadding { } .scToolbarInput { font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px; text-align: justify } .scFormTable { border-collapse: collapse; border-style: none; border-width: 1 } .scFormLabelOdd { border-color: #990000; border-style: solid; border-width: 0; color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px; font-weight: bold; text-align: left } .scFormLabelOddFormat { color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px; font-weight: bold } .scFormRequiredOdd { font-family: Trebuchet MS, Arial, sans-serif } .scFormRequiredOddColor { color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px; font-weight: bold } .scFormObjectOdd { background-color: #d9eef6; border-color: #69BCFC; border-style: solid; border-width: 1; color: #333333; font-family: Trebuchet MS, Arial, sans-serif } .scFormObjectFocusOdd { background-color: #d9eef6; border-color: #69BCFC; border-style: solid; border-width: 1; color: #333333; font-family: Trebuchet MS, Arial, sans-serif; background-color: #d9eef6; border-color: #a7cff8; border-style: solid; border-width: 1; font-family: Trebuchet MS, Arial, sans-serif } .scFormDataOdd { background-color: #FFFFFF; border-width: 0; color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px } .scFormDataFontOdd { color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px } .scFormMessageTable { border-collapse: collapse; border-color: #007ba3; border-style: solid; border-width: 1 } .scFormMessageTitle { background-color: #d9eef6; border-color: #990000; border-style: solid; border-width: 0; color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px; font-weight: bold; padding: 4px } .scFormMessageTitleFont { color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px; font-weight: bold } .scFormMessageMessage { background-color: #FFFFFF; border-color: #990000; border-style: solid; border-width: 0; color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px; padding: 4px } .scFormMessageMessageFont { color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px } .scErrorTitle { background-color: #FF0000; border-color: #FF0000; border-style: solid; border-width: 1; color: #FFFFBB; font-family: Trebuchet MS, Arial, sans-serif; font-size: 13px; font-weight: bold; padding: 2px; text-align: left } .scErrorTitleFont { color: #FFFFBB; font-family: Trebuchet MS, Arial, sans-serif; font-size: 13px; font-weight: bold } .scErrorMessage { background-color: #ffdddd; border-color: #FF0000; border-style: solid; border-width: 1; color: #990000; font-family: Trebuchet MS, Arial, sans-serif; font-size: 11px; padding: 2px; text-align: left } .scErrorMessageFont { color: #990000; font-family: Trebuchet MS, Arial, sans-serif; font-size: 11px } .scErrorLine { color: #333333; font-family: Trebuchet MS, Arial, sans-serif; font-size: 12px; background-color: #FDE6E6 } .scBlock { background-color: #0095c6; color: #FFFFFF; font-family: Trebuchet MS, Arial, sans-serif; font-size: 14px; font-weight: bold; text-align: center } .scTabActive { background-color: #c2defa; color: #0095c6; font-family: Trebuchet MS, Arial, sans-serif; font-size: 13px; font-weight: bold } .scTabInactive { background-color: #b8cde2; color: #007ba3; font-family: Trebuchet MS, Arial, sans-serif; font-size: 13px; font-weight: bold } .scTabActiveFont { color: #0095c6; font-family: Trebuchet MS, Arial, sans-serif; font-size: 13px; font-weight: bold; text-decoration: none; font-style: normal } .scTabInactiveFont { color: #007ba3; font-family: Trebuchet MS, Arial, sans-serif; font-size: 13px; font-weight: bold; text-decoration: none; font-style: normal }


Cheguei a comentar o css no código gerado pelo scriptcase, porem ele imprime o ajax gerado, não sei mais o que fazer,
alguem pode me ajudar? o scriptcase que estou utilizando é a versão 4.

cae1981

  • Novato
  • *
  • Mensagens: 28
Re:Problema no controle com o chrome
« Responder #1 Online: Agosto 07, 2013, 05:31:19 pm »
Resolvido, retirei sc_redir("") e dei um echo "<script>window.location("") </script>";