MicrosoftAjax problem with application/xhtml+xml

G

Guramrit Singh

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.
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top