DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    43

    How to create custom tag in ASP .NET?

    Hi,
    I want to create a ASP .NET web application in which I want to put my comments in a node like this:
    Code:
         
    <form id="form1" runat="server">
        <div>
        <comment> This is a comment </comment>
        </div>
    </form>
    In the example above, I am writing my comment in a node
    Code:
     <comment>
    My issues are:
    1. First I need to find a way to make my application understand this custom comment tag.
    2. Then I want to make this tag behave like a commented block like:
    Code:
     
    <%--This is a comment--%>
    Thanks,
    Pawan

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Feb 2007
    Posts
    43
    Quote Originally Posted by Hack View Post
    Thanks Hack !!
    But that link did not help .. but yes... I asked the same query in another forum... and that did help ...
    http://forums.asp.net/p/1365552/2837016.aspx#2837016

    I hope this does not violate any rules of this forum.. as knowledge should be shared.

    Thanks
    Pawan

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    It does not, and thank your for sharing.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Replies: 0
    Last Post: 07-25-2007, 02:43 PM
  2. Replies: 0
    Last Post: 05-17-2006, 03:36 AM
  3. Getting a GUI to run
    By Eric in forum Java
    Replies: 4
    Last Post: 04-14-2006, 09:09 AM
  4. YAG's status report - Feb 21, 2002
    By Seth Grossman [MSFT] in forum .NET
    Replies: 11
    Last Post: 02-28-2002, 01:44 PM
  5. ASP Grid control in .Net?
    By Chip in forum ASP.NET
    Replies: 2
    Last Post: 02-02-2002, 09:32 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links