Using RadWindow for data entry form from another website

4 posts, 0 answers
  1. mbd
    mbd avatar
    21 posts
    Member since:
    Jul 2007

    Posted 12 Nov 2009 Link to this post

    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
  2. mbd
    mbd avatar
    21 posts
    Member since:
    Jul 2007

    Posted 12 Nov 2009 Link to this post

    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
  3. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 13 Nov 2009 Link to this post

    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.
  4. mbd
    mbd avatar
    21 posts
    Member since:
    Jul 2007

    Posted 13 Nov 2009 Link to this post

    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
Back to Top