Dear friends

5 posts, 1 answers
  1. Abdul Qadeer
    Abdul Qadeer avatar
    3 posts
    Member since:
    Apr 2010

    Posted 29 Oct 2010 Link to this post

    I am opening "twitter" and "facebook" page in radwindow as client demands But I face problem opening these two sites.
    Many other sites opens in it But the "twitter" doesnot open in radwindow. While the facebook give an image URL to open.
    I need both to be opened in the same radwindow.
    Any solution will be highly appreciated.
  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 29 Oct 2010 Link to this post

    Hello Abdul,

    Have you looked at this demo:

    http://demos.telerik.com/aspnet-ajax/window/examples/default/defaultcs.aspx

    They have FaceBook as one of the sites there. You can also try twitter and see if it opens in the demo as well. If they do, copy the settings they have there.

    I hope that helps.
  3. Abdul Qadeer
    Abdul Qadeer avatar
    3 posts
    Member since:
    Apr 2010

    Posted 29 Oct 2010 Link to this post

    Thank you sir and so nice of you for giving me quick response. I am also following this strategy but not fulfilling my requirements. Here for face book, a link is provided while I need it to open it here in the same radwindow. Similarly I also implemented it for twitter But did not work. I am attaching an image of my scenario. Please provide me some proper solution for it, if possible. 
  4. Answer
    Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 03 Nov 2010 Link to this post

    Hi Abdul,

    Such behavior is expected and is not directly related to the RadWindow control. You will experience the same behavior if you don't use RadWindow, but a standard IFRAME
    e.g. - try adding the following code on your page and check the result in the browser:
    <iframe src="http://www.facebook.com" width="500" height="500"></iframe>
    <iframe src="http://www.twitter.com" width="500" height="500"></iframe>

    The reason is that such sites have "frame buster" script that checks if the page is displayed in an IFRAME and if so - either navigate the topmost page to the corresponding site or as in Facebook and Twitter - display a message. This behavior however cannot be controlled from our side - otherwise it would be a major security issue.


    Kind regards,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Abdul Qadeer
    Abdul Qadeer avatar
    3 posts
    Member since:
    Apr 2010

    Posted 03 Nov 2010 Link to this post

    Thank you all for guidance. Its now understood.
Back to Top