Hi,
I am using ajax to update some db data, i don't want to wait for the
ajax to finish but when it does finish I want to run
ListDisplay(Combo_Intro,tainit) to refresh the list box based on the
modified data.
I can't see how I can do that using AJAXExecuteAsynchronous as you cant
use ListDisplay(Combo_Intro,tainit) within the server procedure, it
doesn't error it just doesn't do anything if I put it on the code after
the db data update.
It all works in the sence that the data update I get a message saying
saved.
But how can I refresh the Combo_Intro control ?
IF AJAXAvailable() = True THEN
available,
Res is int
Res =
AJAXExecuteAsynchronous(ModifyData,ProcResult,gsNumber,"COMBO_Intro",COMBO_Intro..Value)
ELSE
END
PROCEDURE ModifyData(Number is string, sUpdateData is string,sNewVal)
update db data
browser proc is run how pls?
ListDisplay(Combo_Intro,tainit)
PROCEDURE ProcResult(ModifiedData, Res)
ToastDisplay("Saved",toastShort,vaTop,haCenter,iLightRed)
How can the Browser procedure refresh the list box which is initialised
by the server code?
Thanks
Tony