Abdul Qadeer
Top achievements
Rank 1
Abdul Qadeer
asked on 29 Oct 2010, 01:28 PM
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.
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.
4 Answers, 1 is accepted
0
Cori
Top achievements
Rank 2
answered on 29 Oct 2010, 01:42 PM
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.
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.
0
Abdul Qadeer
Top achievements
Rank 1
answered on 29 Oct 2010, 08:21 PM
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.
0
Accepted
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:
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
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
0
Abdul Qadeer
Top achievements
Rank 1
answered on 03 Nov 2010, 10:44 AM
Thank you all for guidance. Its now understood.