473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

MicrosoftAjax problem with application/xhtml+xml

Hi everybody,
I'm having problem with MicrosoftAjax, when my application is in XHTML+XML
mode.
I'd set contenttype of page to application/xhtml+xml. but in this case ajax
doesn't work properly.
since the result returned from webservice ScriptMethod is json. xhtml
doesn't handle it properly.

I'm encountering some problems with updatepanel in xhtml mode. it works fine
in html mode.

Is there any solution of this.

Jul 16 '08 #1
1 1444
neither a json webrequest or an update panel postback response are xml. you
should not be forcing the type.

an update panel response is a piped ("|") delimited string. a json
webrequest is a json formated string for both the request and response.

-- bruce (sqlwork.com)
"Guramrit Singh" wrote:
Hi everybody,
I'm having problem with MicrosoftAjax, when my application is in XHTML+XML
mode.
I'd set contenttype of page to application/xhtml+xml. but in this case ajax
doesn't work properly.
since the result returned from webservice ScriptMethod is json. xhtml
doesn't handle it properly.

I'm encountering some problems with updatepanel in xhtml mode. it works fine
in html mode.

Is there any solution of this.
Jul 16 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: petermichaux | last post by:
Hi, I've searched the usenet groups and used google to look for good, active forums for XHTML, XML, XSLT and CSS but I cannot find any. Since PHP is related to the web, I thought I'd ask here...
1
by: webworldL | last post by:
Has anybody had any luck processing XHTML1.1 documents with xml.sax? Whenever I try it, python loads the W3C DTD from the top, then crashes saying that there's an error in the external DTD. All I...
7
by: Ian Rastall | last post by:
I've been Googling for a couple days on this, without hitting the mark, and I'm wondering if anyone can help. I'm interested in building a personal knowledge base with XML (although "knowledge...
23
by: Gustaf | last post by:
I just read this article from today: http://webstandards.org/buzz/archive/2005_09.html I need some help understanding this sentense: The W3C recommends XHTML 1.1 should be served with the...
5
by: alejandro lapeyre | last post by:
How can I load / parse an HTML file with .NET? Thanks! Best regards, Alejandro Lapeyre
0
by: Phil | last post by:
I am writing an application (using Visual Studio 2003) that consumes a third party Web Service, but I receive the following error : Client found response content type of 'application/xml;...
6
by: Andreas Prilop | last post by:
It seems that Google is unable to "recognize" application/xhtml+xml: http://google.com/search?q=www.unics.uni-hannover.de/nhtcapri/ruby-annotation.x.html "File Format: Unrecognized" Then...
43
by: Christoph Schneegans | last post by:
Hi! Okay, so positions on "text/html" XHTML are totally contradicting. Anyway! I hope there's more consensus about "application/xml" XHTML. I've recently learned that Opera 9.0b2 does not only...
15
by: Zhang Weiwu | last post by:
http://www.w3.org/MarkUp/2004/xhtml-faq provided a trick to serve xhtml webpage to IE as application/xml I used that trick and now every one of my xhtml webpage have following first 4 starting...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.