I am trying to add RadTreeview into my sharepoint webpart but every time i add it i keep getting the following error in my sharepoint page which host the Webpart am developing
An unexpected error has occurred.
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
Troubleshoot issues with Windows SharePoint Services.
I have been tring every thing, I added the dlls as a safe cotrol in my web.config as descriped in http://www.telerik.com/help/aspnet-ajax/create-ajax-enabled-sharepoint-webpart-radcontrols.html
This is my simple code:
Protected Overrides Sub CreateChildControls()
MyBase.CreateChildControls()
Dim panel As Panel = New Panel()
panel.ID = "Panel1"
Dim treeView As RadTreeView = New RadTreeView()
treeView.ID = "RadTreeView1"
treeView.Nodes.Add(New RadTreeNode("What's the time?"))
panel.Controls.Add(treeView)
Dim Label As New Label()
Label.Text = "This is a label"
panel.Controls.Add(Label)
Me.Controls.Add(panel)
End Sub
Please help !!!