Kon
Kon

Reputation: 27451

Server-side commenting in asp.net (HTML side)

I need to leave some instructional comments for other developers on a page/user control. Is there a better way to do this besides the below?

  <% /* DO NOT rename control IDs here, because blah blah blah... */ %>

Upvotes: 0

Views: 143

Answers (2)

oglester
oglester

Reputation: 6655

<%-- Comment Here --%>

Upvotes: 5

FlySwat
FlySwat

Reputation: 175733

That is about it, barring a HTML comment.

Your options are:

 <!-- Renders to ClientOutput too -->

or:

 <% /* Your original idea */ %>

Upvotes: 0

Related Questions