Pages

Monday, June 20, 2011

How to register the JavaScript function at Code-Behind

Use ResterStartupScript

    this.Page.ClientScript.RegisterStartupScript(this.GetType(),"alert","");

Use Literal control,

    private void Button2_Click(object sender, System.EventArgs e)
    {
        string str;
        str="

No comments:

Post a Comment