This is a migrated thread and some comments may be shown as answers.

[Solved] problem when add RadTreeView to SharePoint2003

2 Answers 20 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
TreeView
Top achievements
Rank 1
TreeView asked on 24 Jul 2007, 08:50 AM

I am using RadTreeView to add TreeView to SharePoint2003 but i have a problem.
RadTreeView v6.2.2: You have not copied the RadControls folder to the root folder of your web-application or you have applied an update incorrectly

Please help me


this is my codding:

protected override void CreateChildControls()

{

try

{

RadTreeView treeView = new RadTreeView();

treeView.ID = "RadTreeView";

RadTreeNode parentNode = new RadTreeNode();

parentNode.Text = "ParentNode";

treeView.Nodes.Add(parentNode);

RadTreeNode childNode = new RadTreeNode();

childNode.Text = "ChildNode";

parentNode.Nodes.Add(childNode);

this.Controls.Add(treeView);

base.CreateChildControls ();

}

catch(Exception ex)

{

DisplayErrors("CreateChildControls() :: " + ex.Message);

}

}


 

2 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 24 Jul 2007, 12:49 PM
Hi,

Please review the following KB article - http://www.telerik.com/support/kb/article/b454K-khk-b454T-a-b454c-a.aspx

In SharePont 2003, one place you can copy the RadControls folder is the wpresources under the SharePoint application root(e.g. c:\Inetpub\SharePointRoot\wpresources\ ). In this case you will need to set the RadControlsDir property of the treeview control:

treeView.RadControlsDir="~/wpresources/RadControls/";

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
TreeView
Top achievements
Rank 1
answered on 25 Jul 2007, 06:21 AM
It's Ok now.

Thanks for your helping.
Tags
RadEditor
Asked by
TreeView
Top achievements
Rank 1
Answers by
Lini
Telerik team
TreeView
Top achievements
Rank 1
Share this question
or