PDA

View Full Version : Dynamic Ajax Content - aspx page won't load



avekm
04-29-2006, 08:46 PM
I can get .htm pages and .php pages to load into the div by using this script but when I try to load an .aspx page nothing happens. Is there a way to load .net pages using this script? Thank you very much.


This is in regards to this script: http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

ddadmin
04-30-2006, 05:00 AM
In general it shouldn't matter the type of pages you're trying to load via Ajax. What's the URL to the .aspx page in question?

avekm
05-01-2006, 03:03 PM
Here is a page that demonstrates my problem. Thank you.

http://www.homegrownhawaii.com/test_css.aspx

Armitage Shanks
03-14-2007, 12:51 AM
I am having an almost identical problem, but only in IE. in firefox .aspx pages load fine.

Any ideas on why it wont work in IE?

Jano-RS13
10-03-2007, 09:00 PM
i only registered because i'm also looking for a way to load aspx pages inside divs but i've learned that you can't because you are loading a form tag inside another form tag and that causes the error in IE.

source answer was here

http://forums.asp.net/t/1160491.aspx

cheers.

edit:

i've been runing some test and the only way that these aspx pages work in IE is removing the form tag from the pages that will be loaded, that means that there should not be any input tags that will require a form tag.