<p>How are you? <span id = "good" runat="server" visible = "false"> I am good </span>
<span id = "bad" runat="server" visible = "false"> I am not good </span> </p>
According to some condition check at .aspx.cs page i.e
if(a>b)
{ good.visible = true; }
else
{ bad.visible = true;}
Using span just solves my purpose but I doubt if this a right way. I can also use <asp:Literal> control for this. Which is a better approach using literal control or span
...
Go to the complete details ...