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

TreeView/Context/RadWindow

1 Answer 36 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 09 Oct 2008, 08:53 PM
I have a radTreeView, populated with various items that can be checked.  When a user right-clicks a node, a RadContextMenu menu pops up. 

When the user selects a context menu option, I need to:

    1.  Open a predefined RadWindow.
    2.  Pass into the window, the list of TreeViewNodes that are checked.

I have gotten bits and pieces of this to work, but not comprehensively.  If someone could jump in and give me a hand, I would appreciate it very much!

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 10 Oct 2008, 09:12 AM
Hi Jim,

I suggest to check the getCheckedNodes() function in the following demo that shows how to get the checked nodes as array:
http://demos.telerik.com/aspnet/prometheus/TreeView/Examples/Programming/ClientSideApi/DefaultCS.aspx

From this point on, you can send this information to the content page in a RadWindow by using the Url's query string like shown in this demo
http://demos.telerik.com/aspnet/prometheus/Window/Examples/UsingURLForServerArguments/DefaultCS.aspx

OR

by sending it as an argument like shown here:
http://demos.telerik.com/aspnet/prometheus/Window/Examples/DialogReturnValue/DefaultCS.aspx



Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Jim
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or