HomeLearnGeneral ASP.NET VideosHow Do I: Implement the Incremental Page Display Pattern using HTTP GET and POST?  

[How Do I:] Implement the Incremental Page Display Pattern using HTTP GET and POST?

Please install Silverlight or click download to watch video locally.

This video takes another look at the AJAX Incremental Page Display Pattern in which the Web page is retrieved and displayed incrementally. In this video the data is retrieved from the server using HTTP GET and POST requests, rather than the earlier demonstration of using Web service calls (see video number 28).

Presented by Joe Stagner

Duration: 19 minutes, 31 seconds

Date: 13 March 2007

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 12

Leave a Comment

Dantevios : On June 04, 2008 3:31 PM said:

This was a good tutorial, but as always us developers demand more functionality. I have tried to implement an ajaxtoolkit:TabPanel to run in my postTarget.aspx page for this example, however it will not run. As shown in this video, you can use ASP components in the page you want to load, but is there a way to use ajaxtoolkit components in your page you are loading from the Webrequest? Can we do partial postbacks from the content being loaded?

cv_vikram : On August 06, 2008 2:45 PM said:

Very good tutorial.....thanks

jccastillo : On October 01, 2008 11:07 AM said:

muy bueno este video lastima que no este en español ....

MastaEric : On December 01, 2008 12:15 PM said:

Hi Joe, this is good, but it doesn't with Master Pages...Is there an alternative?

wlussi : On December 20, 2008 3:19 PM said:

Dear Joe,

your contributions to all your subjects are really good.

However your clicking habits are so terribly fast

that is really hard to follow.

You should take this hint serious.

Thanks

Walter

djibril_chimere_DIAW : On December 30, 2008 9:07 AM said:

Thanks! Jërëjëf!

bschumacher@navegate.com : On February 18, 2009 9:42 AM said:

Does anyone know how to make this example work with .ascx files?  Joe only showed GET and POST using .htm and .aspx. When I try to set the url to an .ascx I get errors indicating that .ascx files are blocked from being served individually.  I tried to comment the .ascx restriction from application.config, but still nothing.

hyperaaron : On March 20, 2009 7:50 PM said:

Hi Joe,

Thanks for all your help.I am a vb programmer since 11 years.

And I have nearly completed programming my first ever professional website. It's up and running with these cosy Ajax stuff. Your videos have been a great help. Here are few things I am stuck with.

1. Why do Masterpages have to fully reload?

To overcome it, I tried this method explained in the video. But it fails to load an aspx page. Basic idea is to load contents in the contenplaceholder this way.

2. Firefox just can't get on with my webservice where i init. my app. once the user has logged in by making a call to the webservice all with javascript.

Thanks

kumarpvk : On April 15, 2009 11:46 AM said:

thanks

christian_75 : On July 30, 2009 6:52 AM said:

Great tutorial, as ever.

I have a problem when trying to display a .aspx in a div inside the form, it is simply not displayed. If I have the .aspx outside the form, or try to display a .htm it's working fine. Any explanation why this problem occurs, and any idea how I could solve this?

Thanks

Christian

christian_75 : On July 30, 2009 7:35 AM said:

OK, I figured it out.

If the .aspx you are trying to display contains a form, then it cannot be rendered in the form of the main page but only outside of the form.

If the .aspx your are trying to disply doesn't contain a form, then it can be rendered in the form of the main page.

christian_75 : On July 30, 2009 8:25 PM said:

Hi again,

I'm made more tests, and even if the .aspx containing a form is displayed, it will not work correctly.

As example, if your .aspx (let's say "test.aspx") contains one Button with PostBackUrl="www.asp.net", the link on the main page will point to "test.aspx" and not to "www.asp.net". I assume the Viewstate is not handled correctly for the test.aspx, and that the button uses the default behaviour which is doing a postback to the page which has generated it.

Anybody has a solution to overcome this problem (.aspx with a form inside)

Thanks,

Christian

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities