Call Master Page JavaScript function from Code behind on Timer Tick event in ASP.Net

Last Reply one year ago By mukesh1

Posted one year ago

not able to call javascript function from codebehind on timer tick event of master page

protected void Timer1_Tick(object sender, EventArgs e)
    ScriptManager.RegisterStartupScript(this, typeof(Page), "Alert", "showpop('" + "Description" + "','" + "Title" + "')", false);


<script type="text/javascript">
    function showpop(msg, title) {
You are viewing reply posted by: mukesh1 one year ago.
Posted one year ago Modified on one year ago

i want to call javascript of master page from master page 

ScriptManager.RegisterStartupScript(Page, this.GetType(), "Alert", String.Format("showpop({0},{1})", "Description", "Title"), true);