3.0 beta 2

Making data validation in server


How could I validate the entered data in the server-side and warn the user that the data is not valid just-in-time?
I would be something like receiving some sort of return value when sending the HTTP POST request to the server.

Is that possible?
Many thanks,
Jaume Catarineu
June 12,
For what it's worth...I was able to write some code to leverage Microsoft's Atlas webservice capabilities. You could modify this to run any server-side code, and return any result. Currently I do not process any result, I simply use this to save cell-editing values to SQL.

obj.onCellValidated = function(text, column, row)
MySaveData(text, column, RowAutoID);

function MySaveData(text, column, row)
var SrchElem = document.getElementById("SearchKey");
Samples.AspNet.HelloWorldService.UpdateLineItem(row + "|" + column + "|" + text, OnRequestComplete);

function OnRequestComplete(result)
Dan Stevens
June 12,
Check also the code in this example -


Instead of saving the data you can just do validation with the same code.
Alex (ActiveWidgets)
June 12,

This topic is archived.

See also:

Back to support forum


Version 2

Looking for AW 2.6 ?
The old site is here.