When bound to a webservice, how do I intercept whats going to show in the panel and show something custom?
I'm returning a serialized javascript object so I want to deserialize it, and just just ONE property of the object.
This is what I've been trying, but I think the cancel is stopping the content from showing in the panel?...or is this the wrong method?
I'm returning a serialized javascript object so I want to deserialize it, and just just ONE property of the object.
This is what I've been trying, but I think the cancel is stopping the content from showing in the panel?...or is this the wrong method?
function
onSaveNotificationPanel_Updating(sender, args) {
var
callbackresult = Sys.Serialization.JavaScriptSerializer.deserialize(args.get_content());
//Put the content into the panel
args.set_cancel(
true
);
args.set_content(callbackresult.Message);
}