Links TreeView Drop Down List

Last post 06-01-2009, 11:06 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  06-01-2009, 9:28 AM 52699

    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:
  •  06-01-2009, 11:06 AM 52702 in reply to 52699

    Re: Links TreeView Drop Down List

    gneilson,
     
    >>Does anyone know what the problem could be? I would like to list the pages in my DNN portal.
     
    Which version of DNN are you using?
     
    The default provider already allows you link to internal DNN pages.
     
    Please open Providers\HtmlEditorProviders\CEHtmlEditorProvider\CEHtmlEditorProvider.vb and check the following code:
     
    Private Sub AddDNNLinks()
     
    ---
     

    End Sub


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML