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

[Solved] Process on client then redirect to server?

1 Answer 105 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Victor
Top achievements
Rank 1
Victor asked on 21 Jun 2008, 05:14 PM
Hi guys,

I have seen your recent RadPromptAndNavigationalControls2\ForcingServerSideClick submission, and it's really cool.

However, I wonder if there's a way to achieve a similar result somewhat differently, for a more narrow purpose.

I have a tree, each level of which has a node "New element". I would like my user to click this node -- rename it (thereby providing the name for the new element) -- and get the tree with the newly created element added.

I think what I need to do is rename the node on the client and then send the new name to the server; but I can't seem to figure out how to do it. (I would also like to go to a specific address on the server, potentially different at each level -- can I put it in NavigateUrl or something? didn't seem to work for me.)

Thanks for your help!
Victor.

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Jun 2008, 08:20 AM
Hello Victor,

You can use the node editing feature. After the user has finished editing a node RadTreeView fires the NodeEdit server event where you can update your database and redirect to a specific url. Here you can see node editing in action.

I hope this helps,
Albert
the Telerik team

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