Annoyingly, I've found that I have to get rid of the "runat" attribute or put a space in it, eg.
<!--asp:dropdown id="something" run at="server" ... --> Ray at home > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of > Mills, Andy R. (Regency) > Sent: Tuesday, June 07, 2005 3:10 PM > To: '[email protected]' > Subject: [ASP] Comments in .ASPX > > Is it not possible to use traditional HTML comments (<!-- > -->) in an ASPX page? > > I have an ASPX page that I have been tasked to modify. The > page uses all > <asp: > blocks for every table, tablecell, table row. > > I wanted to comment sections of this so that I could more > easily modify it. > However: I noticed the second I hit the first <asp: table>, > that I could no longer use any form of comments (<!-- -->, <% > ' %>) in any section. > > Before I hit the first <asp: > tag though: I can use > traditional comments. > But once inside: I am no longer able to do so. > > Can anyone tell me how I could actually comment this code then? > > Thanks > > Andy Mills > Programmer > Regency Thermographers > 717-765-3572 > <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] > http://www.regencythermo.com <http://www.regencythermo.com/> > > > > > > [Non-text portions of this message have been removed] > > > > -------------------------------------------------------------- > ------- > Home : http://groups.yahoo.com/group/active-server-pages > --------------------------------------------------------------------- > Post : [email protected] > Subscribe : [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > --------------------------------------------------------------------- > Yahoo! Groups Links > > > > > > > > --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
