Am using a default converter object in ajax to convert the tables collection to a JSON string.
First Input for toJSON Method is strTempData(Str ing Builder)
Second Input is the object for which i passed a DataSet.Tables collection.
Ajax.JSON.Defau ltConverter.ToJ SON(ref strTempData, objResultDTO.Re sultdtset.Table s);
I will connect to this page using XMLHTTP and return the generated JSON string back to the Client and process the JSON String for every x seconds using SetTimeout method.
At Some times it is working correctly and generates and Returns the JSON string correctly.
But after some time it is returning the Object name directly like "System.Data.Da taTableCollecti on".
Why it is not processing the object correctly to generate the JSON ?
What might be the problem...?
Ajax Version = 5.6.3.4
First Input for toJSON Method is strTempData(Str ing Builder)
Second Input is the object for which i passed a DataSet.Tables collection.
Ajax.JSON.Defau ltConverter.ToJ SON(ref strTempData, objResultDTO.Re sultdtset.Table s);
I will connect to this page using XMLHTTP and return the generated JSON string back to the Client and process the JSON String for every x seconds using SetTimeout method.
At Some times it is working correctly and generates and Returns the JSON string correctly.
But after some time it is returning the Object name directly like "System.Data.Da taTableCollecti on".
Why it is not processing the object correctly to generate the JSON ?
What might be the problem...?
Ajax Version = 5.6.3.4
Comment