colmfield
Hi,
I have a .Net DataAdapter\MetaDataAdapter serving a website, and have a requirement to cause a certain action on the clients' browser if a particular scenario occurs on the server.
For example, if I get particular information on the server that means my data source is unreliable, I need to inform the user (and possibly, through JS, cause some action on the client).
What is the best way of doing this? Perhaps calling the Failure method of the IItemEventListener? Or somehow using the Control.txt file (although I can't find any documentation on this)?
Thanks,
Colm
Dario Crivelli
This kind of information should be handled at application level.
You could use dedicated items to carry metainformation to the client;
the client can receive them through a NonVisualTable, hence the whole processing is demanded to application code.
Note that the Failure method is about technical problems in the Data Adapter that could be resumed only through a full closing and restarting.
Also note that Control.txt is not part of the Web Client Interface; by the way, are you using a Moderato license or an evaluation account?