Ali,
As per the error description, it seems it is not able to resolve the Spread's name at client side into an identifiable name, hence it throws the error message. To illustrate the point, by default the name of Spread will be FpSpread1, so if you have not changed it and trying to access the same using Spread1, then you will get the mentioned error message. Just ensure that, name of Spread control is same when you are accessing it at client side. e.g.
var ss=document.getElementById("FpSpread1")
Suresh Singh Dasila
GrapeCity FarPoint