I am working on a minor customization for BugNet and after a short while looking I can't find out what I need to modify. For reference, I am working off the 1.5.265 version of BugNet.
Within Issues/UserControls there is Comments.ascx and the following lines of code:
83: <asp:HyperLink ID="hlPermalink" ToolTip="<%$Resources:hlPermalink.Text%>" runat="server" Text="#"></asp:HyperLink>
and
48: <asp:HyperLink ID="hlPermalink" ToolTip="<%$Resources:hlPermalink.Text%>" runat="server" Text="#"></asp:HyperLink>
What I basically want to do is make the text of that hyperlink be the ID of the comment to improve readability of the comments and help users more easily find specific comments, in accordance with a new quality control method we have.
Other aspects of this asp.net control don't seem to make use of the comment's ID so I am not sure how to access it from where I am. I've taken a look at IssueDetail.aspx to see if it makes any references to comment IDs and haven't had any luck there either. I would really appreciate some help.
EDIT: Never mind. Had to put '<%# DataBinder.Eval(Container.DataItem, "Id", "#{0}") %>' in single quotes, not double quotes.
Within Issues/UserControls there is Comments.ascx and the following lines of code:
83: <asp:HyperLink ID="hlPermalink" ToolTip="<%$Resources:hlPermalink.Text%>" runat="server" Text="#"></asp:HyperLink>
and
48: <asp:HyperLink ID="hlPermalink" ToolTip="<%$Resources:hlPermalink.Text%>" runat="server" Text="#"></asp:HyperLink>
What I basically want to do is make the text of that hyperlink be the ID of the comment to improve readability of the comments and help users more easily find specific comments, in accordance with a new quality control method we have.
Other aspects of this asp.net control don't seem to make use of the comment's ID so I am not sure how to access it from where I am. I've taken a look at IssueDetail.aspx to see if it makes any references to comment IDs and haven't had any luck there either. I would really appreciate some help.
EDIT: Never mind. Had to put '<%# DataBinder.Eval(Container.DataItem, "Id", "#{0}") %>' in single quotes, not double quotes.