예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string key    = "clientScript";
            string script = "document.getElementById('LblDate').textContent = new Date();";

            ClientScript.RegisterStartupScript(LblDate.GetType(), key, script, true);
        }