Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > MicrosoftAjax problem with application/xhtml+xml

Reply
Thread Tools

MicrosoftAjax problem with application/xhtml+xml

 
 
Guramrit Singh
Guest
Posts: n/a
 
      07-16-2008
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.

 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      07-16-2008
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.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X-MicrosoftAjax header being stripped out by firewalls Chris Chamberlain ASP .Net Web Controls 3 11-08-2007 08:23 AM
Problem problem problem :( Need Help Mike ASP General 2 05-11-2004 08:36 AM



Advertisments