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

Get Content from Rad Window

1 Answer 93 Views
Window
This is a migrated thread and some comments may be shown as answers.
Arvind
Top achievements
Rank 1
Arvind asked on 13 Jul 2011, 02:36 PM
Hi Telerik Team,

   I am Arvind i am working on Rad window and new to work on it, I have designed a Content Page and it consists of a tree view based on node that user clicks a rad window will be opened (for this i have designed a user control and this user control i have kept inside a Aspx page (Not a Content Page) ) and the rad window consists of a drop down when user will select a value from the Drop Down and Clicks on the Button the i am able to get the selected value from the Drop down and when i try to get that value in the Content Page i am not able to get it, Actually the Content page that i have created has a Rad Editor, in the rad Windows user will choose his choice and that should be inserted in to rad Editor.

Please Help me, its very Urgent

Thanks & Regards

N Aravinda

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Jul 2011, 04:06 PM
Hello Aravinda,

When the RadWindow is used with its NavigateUrl property the page inside is loaded in an iframe, which makes it a separate document. There are two ways to pass values in this case and they are explained in the following help articles:
http://www.telerik.com/help/aspnet-ajax/window-programming-using-radwindow-as-dialog.html
http://www.telerik.com/help/aspnet-ajax/window-programming-calling-functions.html
In the second approach you can pass a JavaScript variable as an argument to the function that is called.
You can use the Editor's client-side API to paste the text:
http://www.telerik.com/help/aspnet-ajax/editor-inserting-text-from-text-control-at-cursor-position.html

I hope my reply was helpful and you will be able to advance in your project by using the approaches from these resources.

Best wishes,
Marin
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Window
Asked by
Arvind
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or