asp.net从后台代码设置div隐藏与显示

2024-12-18 22:14:36
推荐回答(2个)
回答1:

ScriptManager.RegisterStartupScript(this.page, gettype(), "MSG", "ALERT('KK');", true);
后台调用前台的JS

回答2:

应该是gridview.Style["display"]="block";