ASP.NET Ajax Javascript (Specification) | |
---|---|
function loadFromJson( json : string ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfArtPage.loadFromJson(string); |
Parameters
- json
- The JSON string that represents the new marks.
This function removes all the marks that are currently associated with the ArtPage and loads a set of new ones from the JSON string. You must use the saveToJson client function or the ImageGear.Web.UI.ArtConnection.Read server function to create JSON strings.
After this function has successfully loaded the marks, it will raise the marksLoaded event.