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

Using RadWindow for data entry form from another website

3 Answers 53 Views
Window
This is a migrated thread and some comments may be shown as answers.
mbd
Top achievements
Rank 1
mbd asked on 12 Nov 2009, 01:56 PM
I would like to open a RadWindow and have its contents be an entry form from another website. In this scenario I need to pass data to this website as well as get data back once the user submits the data entry form. I am familiar with using Form Posts with an Action value and hidden field values but I was wondering if this functionality is possible using a RadWindow?

My goal is to provide a modal window so I"ll have some control what the user can do once they get to this seperate website to fill out the entry form. In other words, I'd like to avoid the possibility that the user will navigate somewhere completely different once they get to the entry form page and I'm hoping a Modal RadWindow will do the trick.

I hope this makes sense and if the RadWindow is not the solution, can anyone suggest some other solution that could perform similar functionality.

Michael

3 Answers, 1 is accepted

Sort by
0
mbd
Top achievements
Rank 1
answered on 12 Nov 2009, 11:27 PM
I think I may have this figured out. My only hurdle now is being able to close the RadWindow once the other website posts back to me. I see there are lots of threads covering this scenario so I'll see where this takes me.

Of course, if anyone would like to share any other solution that may occomplish this, I'm game to see it.

Michael
0
Georgi Tunev
Telerik team
answered on 13 Nov 2009, 07:01 AM
Hi Michael,

RadWindow is basically an IFRAME and behaves just like one. If the two pages - parent and content one are from different domains, the browser security sandbox will not allow you to use the client-side API to send information to and from the pages. If, however, you can build your logic so it works as expected with IFRAME, the same approach will work with RadWindow as well.

Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
mbd
Top achievements
Rank 1
answered on 13 Nov 2009, 01:55 PM
Thanks for the clarification. I pretty much stumbled upon all these issues while testing various solutions. I do have my intended objective working using an iFrame so I think I'm good. If I find more time I plan to experiment more using the RadWindow approach.

Michael
Tags
Window
Asked by
mbd
Top achievements
Rank 1
Answers by
mbd
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or