So I'm slowly but surely closer to getting this to work.
The page loads.
The CustomControl Opens and loads the library:
Quote:
http://www.google.com/jsapi
The callback is:
Quote:
RSCustom."+JavascriptNamespace+"."+self.ControlID+"_constructor();
I set up the callback event in the setupjavascriptframework() event
and it executes.
As soon as it hits the line:
Quote:
google.load('visualization', '1.0', {'packages':['corechart']});
The page blanks out to all white.
I did some research and found out this is due to the fact that google.load is adding the script to the page using a document.write()
Apparently I can fix this by
Quote:
the simplest would be to move the google.load(...); call(s) outside of the functions so that it's called - and the libraries are loaded - as the page loads.
How would I accomplish this?
The LoadLibraries event only allows me to specify a URL and not a script. Is there a way to trick it?