FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Browser YesNo
Browser YesNo
Iniciado por Zach Allen, 14,abr. 2014 20:45 - No hay respuesta
Conéctese…
Zach Allen
#1
Publicado el 14,abril 2014 - 20:45
Hi all,
I'm trying to get YesNo to work in browser code so that I can run my server code in AJAX.
I don't want to use Cells or Popups because I have multiple buttons that I need to ask Yes No with different text and different server code. ie (Save), (Save and Close) and (Save and Next)
These are some of my attempts so far:
Some of them may not make sense but I'm just trying to get it to popup right now.
My goal is to have the YesNo on the browser code of a button.
When Yes is pressed, the server code of the button will run.
When No is pressed, the button will not run the server code and return.
YesNo
(
0
,
""
,
ReturnToCapture
(
)
,
"Are You Sure?"
)
YesNo
(
0
,
""
,
""
,
"Are You Sure?"
)
YesNo
(
0
,
RETURN
,
RETURN
,
"Are You Sure?"
)
YesNo
(
0
,
""
,
"RETURN"
,
"Are You Sure?"
)
I've put a trace around each attempt ie:
Trace
(
"Start"
)
YesNo
(
0
,
""
,
ReturnToCapture
(
)
,
"Are You Sure?"
)
Trace
(
"End"
)
Every single attempt has printed out the first trace("Start") and that is it.
No second trace and no popup.
I've also tried all of these options with the first optional parameter(0) omitted as well.
The example in WebDev for YesNo in WWDialog is only for the server code version.
Has anyone been able to get YesNo to work in the Browser?
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto