My scenario. I have few links button in my page. On Clicking these buttons, I want to display the corresponding search results from Google in a radwindow. I was not even able to open Google within a radwindow. What should I do?
Google cannot be opened in a RadWindow because Google is sending an "X-Frame-Options:
SAMEORIGIN" response header. This option prevents the browser from
displaying iFrames that are not hosted on the same domain as the parent
page. One suggestion is instead of Google you can use Microsoft Bing to display the corresponding search results as shown in the following sample code.
Assign the window object to a JavaScript variable and use the addShortcut() client method to add a desired command. Please have a look into the following sample code.