Links TreeView Drop Down List

  •  06-01-2009, 9:28 AM

    Links TreeView Drop Down List

    Hi
    I am trying to programmatically configure the Links Treeview drop down list in CuteEdtior according to the Visual Basic example at http://cutesoft.net/developer guide/index.htm#page=Links_dropdown_Customization.htm.

    Unfortunately, my links drop down only shows the default entries in common.config (i.e. MSDN url, etc).

    Does anyone know what the problem could be? I would like to list the pages in my DNN portal.
     
    Thanks
     
    Sample Code:
     
    With ArticleTextEditor
       If Not .ToolControls("LinkTree") Is Nothing Then
          Dim tdd As CuteEditor.TreeDropDownList = DirectCast(.ToolControls("LinkTree").Control, CuteEditor.TreeDropDownList)
          tdd.Items.Clear()
          Dim rootitem As CuteEditor.TreeListItem = New CuteEditor.TreeListItem("Root")
          rootitem.Selectable = False
          tdd.Items.Add(rootitem)
          rootitem.Items.Add("Asp.Net", "http:'asp.net")
       End If
       .SetSecurityGalleryPath(CurrentUser.VirtualHomeDirectory)
       .SetSecurityImageGalleryPath(CurrentUser.VirtualHomeDirectory)
       .SetSecurityFlashGalleryPath(CurrentUser.VirtualHomeDirectory)
       .SetSecurityFilesGalleryPath(CurrentUser.VirtualHomeDirectory)
       .SetSecurityMediaGalleryPath(CurrentUser.VirtualHomeDirectory)
       .SetSecurityTemplateGalleryPath(CurrentUser.VirtualHomeDirectory)
       .AutoConfigure = CuteEditor.AutoConfigure.Full
       .ShowBottomBar = True
    End With
    Filed under:
View Complete Thread