PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB23] - Adding controls to a page
[WB23] - Adding controls to a page
Iniciado por guest, 01,jun. 2018 11:07 - No hay respuesta
Publicado el 01,junio 2018 - 11:07
Hi All

[WB23 - Dynamic Site]

I have a page and I want to allow the user to duplicate a control / template of controls on the page. I want the user to be able to click a button and then a new control is added to the page. I know of the ControlClone() function but the problem is;

1) ControlClone() cannot be used in browser code

2) ControlClone() can be used in server code but only in non-ajax mode

3) I need the server to know a control has been added as I need to be able to recreate the page in a future session

Can anyone give a suggestion on how to achieve this?

Thanks

[UPDATE] - I have something working. Thanks for reading.