Hi ,
I have google.setOnLoadCallback(drawVisualization); definition in the
script under the head tag of html.
drawVisualization is another javascript method under head tag.
And in asp.net code behind page_Onload function is like below;
protected void Page_Load(object sender, EventArgs e)
{
DrawChart(); // this method creates the x_axis and the
chart table string
}
After this method creates the chart parameters (axis and chartTable),
the method defined in setOnLoadCallback(drawVisualization) creates the
chart.
The problem is when i tried to use ajax, the chart is not recreated.
Because when i click the refresh button with no click events,
Page_Onload is automatically called after the button clicked with
property IsPostBack = true. The data is created but the chart method
drawVisualization is not called.
Is there anyway to call this function on postback ?
Or is there another way to get rid of this problem ?
Thanks,
High Hopes
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.