how to comment-out aspx code

Discussion in 'ASP .Net' started by John Smith, Oct 4, 2004.

  1. John Smith

    John Smith Guest

    please, how do I comment out aspx text ?

    the following way does not seem to work:
    the framework still tries to create my control.

    <!--
    <Web:MyControlText ID="email" Runat="server"></Web:MyControlText>
    -->


    Thanks
    John Smith, Oct 4, 2004
    #1
    1. Advertising

  2. John Smith

    David Wier Guest

    <%-- <Web:MyControlText ID="email" Runat="server"></Web:MyControlText> --%>

    David Wier
    MCP, MVP ASP.NET, ASPInsider
    http://aspnet101.com
    http://aspexpress.com


    "John Smith" <> wrote in message
    news:...
    > please, how do I comment out aspx text ?
    >
    > the following way does not seem to work:
    > the framework still tries to create my control.
    >
    > <!--
    > <Web:MyControlText ID="email" Runat="server"></Web:MyControlText>
    > -->
    >
    >
    > Thanks
    >
    >
    David Wier, Oct 4, 2004
    #2
    1. Advertising

  3. John Smith

    John Smith Guest

    Thank you, you saved me.

    "David Wier" <> ha scritto nel messaggio
    news:%...
    > <%-- <Web:MyControlText ID="email"

    Runat="server"></Web:MyControlText> --%>
    >
    > David Wier
    > MCP, MVP ASP.NET, ASPInsider
    > http://aspnet101.com
    > http://aspexpress.com
    >
    >
    > "John Smith" <> wrote in message
    > news:...
    > > please, how do I comment out aspx text ?
    > >
    > > the following way does not seem to work:
    > > the framework still tries to create my control.
    > >
    > > <!--
    > > <Web:MyControlText ID="email" Runat="server"></Web:MyControlText>
    > > -->
    > >
    > >
    > > Thanks
    > >
    > >

    >
    >
    John Smith, Oct 6, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alec S.
    Replies:
    10
    Views:
    10,088
    Alec S.
    Apr 16, 2005
  2. Xah Lee
    Replies:
    3
    Views:
    536
    Jeff Shannon
    Jan 27, 2005
  3. David Thielen

    How do I comment out stuff in an aspx file

    David Thielen, May 28, 2006, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    314
    Walter Wang [MSFT]
    May 29, 2006
  4. Roseanne Zhang

    Can ruby comment out a block of code???

    Roseanne Zhang, Oct 14, 2006, in forum: Ruby
    Replies:
    5
    Views:
    126
    David Vallner
    Oct 15, 2006
  5. Dan Jacobson
    Replies:
    2
    Views:
    128
    Dan Jacobson
    Sep 20, 2003
Loading...

Share This Page