HttpContext.Current.Response.Flush();
ScriptManager.RegisterStartupScript(this, typeof(Page), "Verify", "alert('No Documents Found');", true);
/* By this way I cant call Javascript Function. Please be needful */
HttpContext.Current.Response.Flush();
ScriptManager.RegisterStartupScript(this, typeof(Page), "Verify", "alert('No Documents Found');", true);
/* By this way I cant call Javascript Function. Please be needful */
Your script is not registered because Response.Flush or Response.End actually END the response life cycle and send the results of that point back to the client browser.
Your RegisterStartupScript has no effect.