473,472 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Add invisible comments to asp.net page in VS2005

Hi,
Anyone know how I can add some invisible comments onto asp.net page
during development in VS2005 so I remember to make more changes the
next time I go check the code?

I want to be able to see it in design view, like a quick note.
If it has to be shown in source view, that's fine too.

Any suggestion?
Jun 1 '06 #1
4 1212
<walanta> wrote ...
Any suggestion?


<!-- remember to read that HTML book -->

:o)

Rob
Jun 1 '06 #2
<!--HTML Comments are of course, just fine -->

but, you already have the Task List where you can create a custom task and
it will source-up with the location in the class when you click it.

e.g.

///TODO: Learn how to add custom Task list items
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"walanta" wrote:
Hi,
Anyone know how I can add some invisible comments onto asp.net page
during development in VS2005 so I remember to make more changes the
next time I go check the code?

I want to be able to see it in design view, like a quick note.
If it has to be shown in source view, that's fine too.

Any suggestion?

Jun 1 '06 #3
If you use c# you'll see the /// summary stuff when you create a class.
In VB you can do a similar thing.
Just type /// and if possible the IDE will insert a summary part for you.
maybe you can extend it to your needs.

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> schreef in bericht
news:9B**********************************@microsof t.com...
<!--HTML Comments are of course, just fine -->

but, you already have the Task List where you can create a custom task and
it will source-up with the location in the class when you click it.

e.g.

///TODO: Learn how to add custom Task list items
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"walanta" wrote:
Hi,
Anyone know how I can add some invisible comments onto asp.net page
during development in VS2005 so I remember to make more changes the
next time I go check the code?

I want to be able to see it in design view, like a quick note.
If it has to be shown in source view, that's fine too.

Any suggestion?

Jun 1 '06 #4
"Peter Bromberg [C# MVP]" wrote ...
///TODO: Learn how to add custom Task list items


Can you plonk those in the HTML/source view though? Presumably you'd have
to plonk inline ASP tags around it or something?

<%

' TODO: like this?

%>

I've only ever used this approach in my code behind/classes to be honest..

Rob
Jun 1 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Matt | last post by:
Are there any settings to make a page invisible to the user until certain time? For example, I want mypage.html is invisible to the user until 12:00am. But mypage.html is already in the IIS server....
41
by: Mr. x | last post by:
Hello, Can I make my java script code be invisible to other people who enter into my site by IE browser ? - How ? Thanks :)
11
by: Saqib Ali | last post by:
Please excuse me, this is a fairly involved question that will likely require you to save the file below to a file and open it in a browser. I use Mozilla 1.5, so the problem I describe below...
4
by: yabba | last post by:
is there a way to keep a client page invisible for a brief moment while it is checking a few things on the client with javascript? once checked it may need to redirect to another page... ...
7
by: Martin | last post by:
Hi, I have a page where according to the mode of use, different controls are visible. I had assumed that Page.DataBind() would only bind visible controls, but apparently not. Do I have to...
2
by: CMM | last post by:
In VS2005 / VB.NET, do you still have to spell out the ComponentModel.Description attribute when you want properties of a custom control to have description text in the Property Editor?... or can...
0
by: tomi | last post by:
Hi I have quite large website (web project) project in Visual Studio 2005. This project is throughfully documented using XML comments. I've used nDoc (it can only be used on assemblies, or old...
2
by: Paul Cheetham | last post by:
Hi, If I start a multi-line comment in a c# file with /* then when I press enter, I get an asterisk indented on the next line. I want to prevent this from happening, as it's getting really...
5
by: Andy B | last post by:
I have 2 TextBoxes and an Add button on a page. When the user fills in the TextBoxes, the values are added to a dataset table. When the page gets done reloading, the TextBoxes are turned into...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.