Ajax.NET Library version 5.6.3.4
Ajax.dll
I added a reference to the ajax.dll and used those methods..
Using this method
Ajax.JSON.Defau ltConverter.ToJ SON(sb,obj)
How can i overcome this problem..?
Please give me a suggestion...
User Profile
Collapse
-
Ajax JSON Converter problem
Any one knows how to use Ajax.JSON.Defau ltConverter.ToJ SON method
or is it a correct method to generate the JSON String
Ajax Version = 5.6.3.4
Because am not able to generate the JSON string correclty all the times..
Some times it is correctly converting it into JSON String and at some time it is directly giving the string like System.Data.Dat aSet or DataTableCollec tion...Leave a comment:
-
Ajax toJSON not working
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... -
Try this.. while opening the modaldialogue send the window as the parameter
showModalDialog ue(url,window,p arams);
and in the modal window
var parWin = window.dialogue Arguments;
now parWin contains your parent window objectLeave a comment:
No activity results to display
Show More
Leave a comment: