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

[Solved] Paste a link from a node in TreeView to a field in SharePoint

1 Answer 96 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 21 Apr 2008, 10:15 AM
Oops, I opened this thread in the General section, sorry for that.

Hi,

I am looking for a way to browse a document library in SharePoint in order to create a link from a selected document to a field in a Wiki article. So within a wiki article I'd like the user to open TreeView, locate the document, and select it to paste a link of that document into the specified field. Is that possible with TreeView?

I know I can do this via copy and paste into the link dialogue box but I want to make the process as seamless as possible with as few clicks as possible. 

Thanks very much in advance.

1 Answer, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 24 Apr 2008, 02:21 PM
Hello Tim,

You can use the OnClientClicked event to get the value or the text of the clicked node and then assign it to the value of the desired TextBox.

Please find attached a sample project that demonstrates how to do this. It's a regular ASP.NET website, but the approach should be the same in Sharepoint.

Sincerely yours,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Tim
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Share this question
or