I have a div element on my page that I wish to show/hide based on a session value in my code-behind. How can I do this?
work with you apply runat="server" in your div section...
On your button click event: protected void btnSubmit_Click(object sender, EventArgs e) { hideid.Visible = false; } 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
On your button click event:
protected void btnSubmit_Click(object sender, EventArgs e) { hideid.Visible = false; }