View Full Version : ASP/Ext Form Submission

24 Apr 2007, 8:39 PM
I'm trying to build an app using ASP 3.0 and Ext. I have the app's frame up and running but I am struggling over form submission and the return response. I've build a form that resides in a content panel and can submit it without fail to the ASP page that does the server-side processing. What I am having the most hardest time with is getting the response into the proper format after form processing so the wait message will go away.

I've searched the forums and haven't found any clear answer as to what needs to be done in ASP. Is the response supposed to be in JSON, XML, or a simple array. If any of those can someone give me some ASP pseudo code to accomplish this?


25 Apr 2007, 6:30 AM
NVM, I finally got it figured out. My problem was that my ASP processing page had the full HTML markup inside instead of just the processing code and the return value.

Once I removed the HTML markup and formatted my response correctly it worked perfectly.

if Mailer.SendMail then
Response.Write "{success: true}"
Response.Write "{success: false,errors:'" & Mailer.Response & "'}"
end if

Thanks Jack & team for the best AJAX library available!