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

[Solved] Integration with RadMenu

2 Answers 137 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jacky Chau
Top achievements
Rank 1
Jacky Chau asked on 27 Mar 2008, 02:52 AM
Is there a demo or kb article on how to integrate RadWindow with RadMenu?  For example, when I click on a menu item called 'Select Folder', it will open a FolderPicker.aspx page with RadWindow.  When the user selects a folder, the dialog closes, sends the selected folder name and id back to the main page, and invokes the menu item to do an ajax callback.  On the serverside, the menu's click event is fired and the selected node is 'Select Folder' and somehow the page can retrieve the selected foldername and id on the server side.  And if this can all be done in a generic, reusable way, that would be best =P .

2 Answers, 1 is accepted

Sort by
0
Jacky Chau
Top achievements
Rank 1
answered on 27 Mar 2008, 02:58 AM
I want to add that I can already open the radwindow via javascript but I need help on invoking the menu item ajax callback when after a selection has been made in the dialog.
0
Georgi Tunev
Telerik team
answered on 27 Mar 2008, 03:21 PM
Hi Jacky,

I suggest to check the following demo: http://www.telerik.com/DEMOS/ASPNET/Prometheus/Window/Examples/DialogReturnValue/DefaultCS.aspx
which shows how to return values from a dialog - as you can see you can use either the OnClientClose event or the ClientCallBackFunction to return the arguments.
Once the argument is returned, you can use the RadAjaxManager's Client-Side API to invoke an AJAX call to the server where to process the data.

I hope this helps.

Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
Jacky Chau
Top achievements
Rank 1
Answers by
Jacky Chau
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or