473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

VB.Net, VB Commenter, Comment Tags and NDOC

Hi,

I am using the following comment tag to display code samples in my help
document. <code> </code>

The problem is all I see is a gray bar and no code sample in my help file.
Has anybody done this successfully in VB.NET?

Thanks,

Chris

Nov 21 '05 #1
2 2254
Here is the comment tags that are not working:

'''
-----------------------------------------------------------------------------
''' Project : RowSelectorColumn
''' Class : Mine.WebControls.RowSelectorColumn
'''
'''
-----------------------------------------------------------------------------
''' <summary>
''' A <see cref="DataGridColumn"/> which shows a checkbox in each row to
signal the selection of that row.
''' </summary>
''' <example> This example shows the use of RowSelectorColumn in a simple
<see cref="DataGrid"/>
''' <code>
''' <![CDATA[
''' <%@ Register TagPrefix="mine" Namespace="Mine.WebControls"
Assembly="Mine.WebControls.RowSelectorColumn" %>
''' <form id="Form1" runat="server">
''' <h3>DataGrid Example</h3>
''' <asp:datagrid id="ItemsGrid" runat="server" BorderColor="black"
BorderWidth="1" CellPadding="3"
''' AutoGenerateColumns="true">
''' <HeaderStyle BackColor="darkblue" forecolor="white"></HeaderStyle>
''' <Columns>
''' <mine:RowSelectorColumn
ChildrenCheckBoxID="FirstColSelectorColumnSelector "
''' SelectAllLabelID="SelectAllLabel" SelectAllLabelText="Approve All"
''' SelectAllCheckBoxID="FirstColSelectorColumnAllSele ctor"
AllowSelectAll="True"
''' SelectionMode="Multiple" />
''' </Columns>
''' </asp:datagrid><asp:button id="Button1" onclick="ShowSelections"
runat="server" text="Show Selections"></asp:button><br>
''' <asp:label id="Message" runat="server"></asp:label>
''' </form>
''' ]]>
''' </code>
''' </example>
'''
-----------------------------------------------------------------------------

Nov 21 '05 #2
Doh, I couldn't get CDATA to work for me, so I tried the XML escape character
< and > and it works like a charm.

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ron James | last post by:
I've included the following in a C# class: /// <summary> /// The method <c>Junk</c> doesn't do anything. /// </summary> public void Junk(){} After running Tools->Build Comment Web pages,...
8
by: Will Pittenger | last post by:
I have a Windows program C# .NET solution where when I update its XML documentation, some tags are not recognized and turned into the corresponding HTML. Those tags include <c>, <code>, <para>,...
11
by: ajikoe | last post by:
Hello, I used Visual C# Standard Edition. I want to comment my program using xml commentary method, I don't know why if I use value and example tag, it is not working / showed in the html...
13
by: Ray Cassick \(Home\) | last post by:
I have been using XML Comments in VB.NET during my time with VS.NET 2003 thanks to VBXC and NDoc. I just started to upgrade one of my projects into VB.NET 2005 and am seeing some odd errors...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.