hi...
i want to display an alert message when the timer.tick even occurs....

protected void Timer2_Tick(object sender, EventArgs e)
        {
            Timer1.Enabled = false;
            System.Web.HttpContext.Current.Response.Write("<SCRIPT LANGUAGE=\"JavaScript\">alert(\"30 Seconds up. Exporting to Library\")</SCRIPT>");
            Response.Write("<script language=javascript>alert('30 Seconds up. Exporting to Library');</script>");
            ClientScript.RegisterStartupScript(this.GetType(), "MyKey", "alert('30 Seconds up. Exporting to Library ');", true);
            ClientScript.RegisterClientScriptBlock(this.GetType(), "MyKey", "alert('30 Seconds up. Exporting to Library ');", true);
        }

The above is what i've tried so far...
none of the above give out an alert message....
i think it's because there is no response happening during the event...
how do i force the page to throw an alert.....

If i'm right...
i have to force a postback for the alert message to show up...
how do i do it....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.