Along that same note, I am trying to create a bread crumb trail of folder quick links as they descend into their subfolders. Like the following:
Parent Folder Name - Child Folder Name 1 - Child Folder Name 2 - etc., etc.
It seems to be working with what I have so far, except that it is not breaking up each folder's link into a seperate link. It is creating one single link for them all.
Do you know how I could resolve this?
Here is what I have so far:
''''''''HTML code
<a id="FolderString" runat="server" visible="false" style="color: Blue"></a>
''''''''Server side code
Dim count2 As Integer = dt2b.Rows.Count
Dim j2 As Integer
For j2 = 0 To count2 - 1
If dt2b.Rows.Count <> 0 Then
FolderString.Visible = True
FolderString.InnerText += FolderName2
FolderString.HRef += "WebPage.aspx?folder=" & FolderID
FolderString.InnerText += " - "
End If
Next
mattcase
Member
375 Points
520 Posts
Re: Hierarchy
May 25, 2012 08:14 PM|LINK
That was exactly what I needed! Thanks!
Along that same note, I am trying to create a bread crumb trail of folder quick links as they descend into their subfolders. Like the following:
Parent Folder Name - Child Folder Name 1 - Child Folder Name 2 - etc., etc.
It seems to be working with what I have so far, except that it is not breaking up each folder's link into a seperate link. It is creating one single link for them all.
Do you know how I could resolve this?
Here is what I have so far:
''''''''HTML code <a id="FolderString" runat="server" visible="false" style="color: Blue"></a> ''''''''Server side code Dim count2 As Integer = dt2b.Rows.Count Dim j2 As Integer For j2 = 0 To count2 - 1 If dt2b.Rows.Count <> 0 Then FolderString.Visible = True FolderString.InnerText += FolderName2 FolderString.HRef += "WebPage.aspx?folder=" & FolderID FolderString.InnerText += " - " End If Next