function closewindow()
{
window.open('','_self','');window.close();
return true;
}
=====================================================================
/*How to Call A JavaScript function through code behind */
ClientScript.RegisterStartupScript(GetType(), "", "");
//Like this
ClientScript.RegisterStartupScript(GetType(), "", "")
/*How to call a JavaScript function through code behind when page have update panel */
ScriptManager.RegisterStartupScript(Page, Page.GetType(), Guid.NewGuid().ToString(), "ShowSucessmsg();", true);
No comments:
Post a Comment