Customize Link Dropdown

Last post 03-30-2005, 2:50 PM by andytauber. 0 replies.
Sort Posts: Previous Next
  •  03-30-2005, 2:50 PM 5117

    Customize Link Dropdown

    I am trying to dynamically add a list of pages to the links dropdown
     
    CODE:
     
    Dim EditorDL As CuteEditor.RichDropDownList
     

    EditorDL =

    New CuteEditor.RichDropDownList(Editor1)

    EditorDL = Editor1.FindControl("Internal Page Links")

    EditorDL.Items.Clear()
     
     
    Everything compiles fin but when I run the page I get  a
    Object reference not set to an instance of an object.
    Error.
     
    This is critaical for me.
     
    The site dynamically generates the web pages from a database
     
    so I want the dropdown to list the pagename with the value as "displaypage.aspx/pageid=8" etc. And insert the link in the highlighted text.
     
    Please help.
     
    Thanks
     
    Andy
View as RSS news feed in XML