How to div hide and show using c# in codebehind

In .aspx

<div id="divhide" runat="server">

<p>Test</p>

</div>

use anchor tag runat="server"

In .aspx.cs

In any event

divhide.Visible = true or false; // based on your needs.

No comments:

Post a Comment