由于某种原因,我的 RegisterClientScriptBlock 没有执行
我在 vb.net 上的代码
Private Sub Update_Chart(ByRef Table As DataSet)
(more code but not needed, such as arrays)
Dim script As String
script = _
"function chart()" & _
"{" & _
"var chart = $('#container1').highcharts();" & _
"chart.redraw();" & _
" }" & _
";"
ScriptManager.RegisterClientScriptBlock( _
Me, _
GetType(Page), _
"container1", _
script, _
True)
关于为什么的任何想法?