Hi again,

I was wondering, how can I comment an asp tag, in HTML is <!-- -->, on ASP VB Code is ', but an ASP.NET tag like <asp:TextBox1 ></asp:Textbox1> how can I comment it?? I've tried with both HTML and ASP, but no luck. Is there a way to comment those?

Thanks!

Omar

The asp.net comment mark is <%-- and --%>

It would have the same runtime effect as

Setting the Visible Property to False
or
In the page load event

textbox1.visible = False
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.