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