Your best source of information and news about microsoft, drivers and microsoft on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

ASP.NET 2.0 Server Side Comments


Ever wonder how to write comments within an aspx file? <!– –> won’t cut it as it gets processed on the server side and the resulting HTML will contain the commented code as processed. Enter, <%– –%>. There are 2 ways you can truly comment on an aspx file.

One way. for example,

<%–

Anything within this block will not be parsed/handled by ASP.NET.

<asp:TextBox runat=”server”></asp:TextBox>

–%>

 And here is the other visual way of doing it,

image

Hope it helps.

Popularity: 1%


Written by askars. Read more great feeds at is source WEBSITE
6 comments.
Read more articles on howto and ASP.NET and .Net and Visual Studio and Tips and Tricks.

Related articles

6 comments

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com test
#1. June 18th, 2008, at 7:40 PM.

nice

Get your own gravatar by visiting gravatar.com test
#2. June 18th, 2008, at 7:42 PM.

nice article

Get your own gravatar by visiting gravatar.com Pisun
#3. September 27th, 2009, at 1:12 PM.

Very cool gb design. What CMS do you use ?

Get your own gravatar by visiting gravatar.com Pisko_Boy
#4. September 28th, 2009, at 7:04 PM.

Very wonderful server design. What CMS do you use ?

Get your own gravatar by visiting gravatar.com No_limits66
#5. October 22nd, 2009, at 8:52 PM.

President Obama has decided that the way to sell you on Nationalized Health Care is with a logo. ,

Get your own gravatar by visiting gravatar.com SouthWind82
#6. October 22nd, 2009, at 8:54 PM.

I remember putting the tutorial together and think it makes some great points on how to see, how to look for the leading lines in the scene, and where to place your subject within the scene. ,

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .