|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Commenting Out Controls In HTML ViewAs we all know, the <!-- and --> tags in HTML comment out HTML in a *.html
file. However, this does not seem to work in ASP.NET *.aspx files. Is there a way to comment out ASP.NET controls that are created declaratively in a *.aspx file? This would make debugging much easier in many cases. Thanks. hi Nathan,
This is how you comment out serverside declarative code <%-- --%> Regards, Alessandro Zifiglio http://www.AsyncUI.net Show quoteHide quote "Nathan Sokalski" <njsokal***@hotmail.com> ha scritto nel messaggio news:%234RBXRJqGHA.4424@TK2MSFTNGP05.phx.gbl... > As we all know, the <!-- and --> tags in HTML comment out HTML in a *.html > file. However, this does not seem to work in ASP.NET *.aspx files. Is > there a way to comment out ASP.NET controls that are created declaratively > in a *.aspx file? This would make debugging much easier in many cases. > Thanks. > -- > Nathan Sokalski > njsokal***@hotmail.com > http://www.nathansokalski.com/ > I should of posted this link earlier as well.
http://msdn2.microsoft.com/en-us/library/4acf8afk.aspx Regards, Alessandro Zifiglio http://www.AsyncUI.net Show quoteHide quote "Alessandro Zifiglio" <AlessandroZifiglio @ -h-o-t-m-a-i-l-c-o-m> ha scritto nel messaggio news:ebarufLqGHA.2304@TK2MSFTNGP03.phx.gbl... > hi Nathan, > This is how you comment out serverside declarative code > <%-- --%> > > Regards, > Alessandro Zifiglio > http://www.AsyncUI.net > > "Nathan Sokalski" <njsokal***@hotmail.com> ha scritto nel messaggio > news:%234RBXRJqGHA.4424@TK2MSFTNGP05.phx.gbl... >> As we all know, the <!-- and --> tags in HTML comment out HTML in a >> *.html file. However, this does not seem to work in ASP.NET *.aspx files. >> Is there a way to comment out ASP.NET controls that are created >> declaratively in a *.aspx file? This would make debugging much easier in >> many cases. Thanks. >> -- >> Nathan Sokalski >> njsokal***@hotmail.com >> http://www.nathansokalski.com/ >> > >
Resume next in VB.NET ?
AS400 - Ado.Net from Vb.Net Slow Query Times Can I make my Form visible during a debug session? Database Connection Problem. Please Help ddl selectedindexchanged not firing on first item - I'm using a dataset to populate the ddl What's wrong with the combobox in grid object reference not set to an instance of an object error Is this a bug: 2.2 - 0.4 = 1.8 but 1.2 - 0.4 = 0.8000001 ? webbrowser document text not adding text multiple color + font selections in a richtextbox control |
|||||||||||||||||||||||