Click to See Complete Forum and Search --> : Is there always only one form in ASP.NET/AJAX?


Krumelur76
May 5th, 2009, 01:17 PM
Hi there!

I'm trying to figure out the basics of ASP.NET (2) and AJAX.
If I have multiple Panels and also multiple UpdatePanels on a page it seems to me that there is always only one form which is used to pass the client data on to the server.
I would have thought that every UpdatePanel would have a form.
But if there's only one, how can it handle simultaneous requests? Is it just that the events are queued and then transferred using XMLHttpRequest but all using the one and only form?

Is there a good article on how it's all working without going to deep into code details?

René

zdavis
May 8th, 2009, 09:31 AM
You can have multiple update panels on the same form. the request back to the server is asychronous.

Does that help your question?

-zd

eclipsed4utoo
May 12th, 2009, 03:29 PM
you can only view one "form"(otherwise known as a "page") at a time. Therefore, only one page can postback to the server.

The UpdatePanels have nothing to do with the page. You can have as many update panels as you like.