HighTechTalks DotNet Forums  

asp.net 2.0 and Ajax

ASP.net Web Controls microsoft.public.dotnet.framework.aspnet.webcontrols


Discuss asp.net 2.0 and Ajax in the ASP.net Web Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old   
Joe
 
Posts: n/a

Default Re: asp.net 2.0 and Ajax - 06-22-2008 , 10:14 PM






Evan Freeman wrote:
Quote:
Well asp.net and apache aside, AJAX really has very little to do with both
of them per say.

SO whats AJAX, the web browser makes an httprequest, via <insert browser
implementation here>XmlHttpRequest object, either com or whatever.

All this does is make a call to a url and expects back some fragment in the
form of , html, json, xml, plain text, and whatever else you want to return.

So I would say if the request is being sent to apache there should be a way
to see it being made and being recieved, and I would guess failing somewhere
along that path.

My suggestions are thus:
1. Try using standard tools to track it down. If you use IE get fiddler.net,
if you use FireFox use firebug. those will let you see the requests being
sent out and any failures. Failures could be
the request times out or some error returned. 500, 401, 404, basic http
errors and the like.

2. cleanout the apache logs, or turn on logging, and setup a test fire the
ajax request and see if its getting logged as being recieved, and again look
for errors or the return.

My previous suggestions where along the same lines as the previous poster,
mostly an assumption you didn't have asp.net working. But if you do then its
nothing to do with ajax failures. AJAX is just a way of doing things not a
package or anything you need to install its just a way for a browser to make
a call out and return data in a threaded fashion so you don't need to
refresh the page just inject new elements into the DOM and let the browser
render them without a postback or fetch.

Hope this helps.

No I'm sorry it doesn't help. I'm so lost right now. I just hate Ajax


Reply With Quote
  #22  
Old   
Joe
 
Posts: n/a

Default Re: asp.net 2.0 and Ajax - 06-22-2008 , 10:14 PM






Evan Freeman wrote:
Quote:
Well asp.net and apache aside, AJAX really has very little to do with both
of them per say.

SO whats AJAX, the web browser makes an httprequest, via <insert browser
implementation here>XmlHttpRequest object, either com or whatever.

All this does is make a call to a url and expects back some fragment in the
form of , html, json, xml, plain text, and whatever else you want to return.

So I would say if the request is being sent to apache there should be a way
to see it being made and being recieved, and I would guess failing somewhere
along that path.

My suggestions are thus:
1. Try using standard tools to track it down. If you use IE get fiddler.net,
if you use FireFox use firebug. those will let you see the requests being
sent out and any failures. Failures could be
the request times out or some error returned. 500, 401, 404, basic http
errors and the like.

2. cleanout the apache logs, or turn on logging, and setup a test fire the
ajax request and see if its getting logged as being recieved, and again look
for errors or the return.

My previous suggestions where along the same lines as the previous poster,
mostly an assumption you didn't have asp.net working. But if you do then its
nothing to do with ajax failures. AJAX is just a way of doing things not a
package or anything you need to install its just a way for a browser to make
a call out and return data in a threaded fashion so you don't need to
refresh the page just inject new elements into the DOM and let the browser
render them without a postback or fetch.

Hope this helps.

No I'm sorry it doesn't help. I'm so lost right now. I just hate Ajax


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.