I used the following code to call JS to refresh my grid,But it does not work sometimes.it remend me that :can not find object "AddRebind".
I do not know why.
But the function AddRebind is written in my aspx page.
I do not know why.
string script = "<script language='javascript' type='text/javascript'>Sys.Application.add_load(AddRebind);</script>"; |
ScriptManager.RegisterStartupScript(this, this.GetType(), "AddRebind", script, false); |