Posted on: 10/8/2012 12:52:06 AM | Views : 1563

Hi All,
Does anyone have experience with google charts integration?
We can make it work with a straight html site, putting a literal into the page head, a div in the page body, and then registering google client script in the code behind.
However, when we use update panels, it does not work. I have hunch the reason is that the div to which the google javascrip code refers is not visible (does not exist) at the time the javascript is registered because our charts are not visible all the time, only when a button is pressed.
But it could be something else.
Has anyone seen similar problems and found a solution?
Straight html code (works)
  <head>
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
      <asp:Literal ID="Literal1" runat="server"></asp:Literal>
  </head>
<body>
& ...

Go to the complete details ...