Showing posts with label iframe. Show all posts
Showing posts with label iframe. Show all posts

Saturday, March 24, 2012

load server page like frame

i have a page. this page loads to client. how can i load to this page (in selected area) another page from server, like in iframe but using ajax?

Hi,

Thank you for your post!

You can still use Iframe,then change the src of the Iframe to the page you want to load.

If you really want use Ajax, place a Iframe in an updatepanel.

If you have further questions,let me know!

Best Regards,

Wednesday, March 21, 2012

Loading the Ajax Toolkit Page with IFrame into Php-website: Access denied

How to load the Ajax Toolkit Page (my Chat) with IFrame into Php-website?

Code for an illustration:

1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">2<html xmlns="http://www.w3.org/1999/xhtml" >3<head>4<title>Untitled Page</title>5</head>6<body>7<iframe id="iframe1" width="100%" height="1000" frameborder="0" src="http://ajax.asp.net/ajaxtoolkit/Accordion/Accordion.aspx" marginwidth="0" marginheight="0" scrolling="no" />8</body>9</html>10

There is nothing elase that you have to do.

Since PHP is in-line with HTML, just close your PHP and specify the HTML iframe tage.

As long as the iframe page is a complete AJAX Toolkit page that works stand-alone, you should be fine.