User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,504 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,665 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2269 | Replies: 1 | Solved
Reply
Join Date: Aug 2007
Posts: 23
Reputation: culebrin is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
culebrin culebrin is offline Offline
Newbie Poster

Comment tag ASP.NET

  #1  
Sep 22nd, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: England
Posts: 156
Reputation: ptaylor965 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 19
Sponsor
ptaylor965's Avatar
ptaylor965 ptaylor965 is offline Offline
Junior Poster

Re: Comment tag ASP.NET

  #2  
Sep 23rd, 2007
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
Peter Taylor
Visual Basic.NET Application Developer

TaylorsNet
http://www.taylorsnet.co.uk
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 3:35 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC