|
code
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/ >> > >
Hyperlink control - embedded spaces converted
Auto Postback Handling in controls onTextChanged won't fire in UserControl How to have either/or steps in a wizard GridView, ObjectDataSource, Update problems. WebPartManager1.CloseWebPart Error Add a control to a treenode. TreeView Newbie: Calendar question? Autopostback and submit button UserControl loaded dynamically multiple times on same page....client js problem |
|||||||||||||||||||||||