Geeks With Blogs

Soppa Group India
iSmart Panache Inc
R Systems Internationals Ltd
Technovate eSolutions Pvt Ltd
The contents of this blog are my personal opinion and do not represent in any way the view of my employer.
These postings are provided "AS IS" with no warranties, and confer no rights.

Google PR™ - Post your Page Rank with

Narendra Tiwari

This is an example of showing a URL's  HTML result inside another page....

Here we have the five pages, Page1.aspx, Page2.aspx, Page3.aspx, Page4.aspx, and one page Default.aspx to call all these pages, the idea is to have four links for all above four pages, and make AJAX based call on the links over these pages, that is these will be no post back when we are transiting across these four pages and the url will remain the same as Default.aspx.

Here following things must be common across the pages..

Initially we tried a lot of things like WebClient Class of System.Net, and finally we did it through AJAX call by XmlHttp object, ..and it works...

If anybody want the source code email me on   e n a r e n t  AT  G m a i

..though there is a jugad (temp work around) for that..but it works... hmm... I hate jugads but sometime...

..BUT.. actually we are not achieving any performance advantage, since we are loading the whole Html of the URL again. I find FAJAX (Fake Ajax) is an ultimate alternate to this requirement, actually by making an AJAX call we are just avoiding the Page Flickering and nothing more.. that we can easily achieve from FAJAX .

just put the following tag in <head> section of ur page and see the page transition effect when redirecting to different pages…

 <meta http-equiv="Page-Exit" content="progid:DXImageTransform.Microsoft.Fade(duration=.5)" />

that meta tag is a browser capability and only works if "Enable Page Transition" is enabled in advance option in IE.

Posted on Wednesday, November 22, 2006 9:35 AM .Net | Back to top

Comments on this post: AJAX call...

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Narendra Tiwari | Powered by: