Hey there,
I'm trying to get a textbox (using ASP.NET / VB.NET) to display XML
without freaking out the browser afterwards.
Currently I have the textbox displaying the XML fine, but that's when
things go funny, the second another postback occurs it complains. I thought
that a textbox would have it's contents escaped in on way or another,
obviously not, any idea how I can get the page to ignore it's contents? I
don't want it to use the contents for anything, it's just for the users
convenience.
Error: Sys.WebForms.PageRequestManagerParserErrorExceptio n: The message
recieved from the server could not be parsed. Common cause for this error
are when the response is modified by calls to Response.Write(), response
filters, HttpModiles, or server trace is enabled.
Cheers in advance for your time!
Nick. 5 1696
"Nick" <a@a.comwrote in message
news:uu**************@TK2MSFTNGP05.phx.gbl...
Hey there,
I'm trying to get a textbox (using ASP.NET / VB.NET) to display XML
without freaking out the browser afterwards.
Currently I have the textbox displaying the XML fine, but that's when
things go funny, the second another postback occurs it complains. I
thought that a textbox would have it's contents escaped in on way or
another, obviously not, any idea how I can get the page to ignore it's
contents? I don't want it to use the contents for anything, it's just for
the users convenience.
Error: Sys.WebForms.PageRequestManagerParserErrorExceptio n: The
message recieved from the server could not be parsed. Common cause for
this error are when the response is modified by calls to Response.Write(),
response filters, HttpModiles, or server trace is enabled.
Cheers in advance for your time!
Turn off ViewState on the TextBox so that the data in the Textbox is not
held onto during the between round trips. That means you'll have to populate
the controls each time on the postback with the XML.
Hi Nick,
Based on your description, my understanding is that you use a TextBox on
page to accept some input and you assign some XML text into the textbox ,
however, when you post back the page, it report some error, correct?
In the error message , I saw the "Sys.WebForms..." component which is
ASP.NET ajax script class. So are you using AJAX in that page to perform
partial postback(non refresh post)? If so, would you provide some further
code logic about how to did the AJAX stuff or an simple example of the page
so that we can also perform test on my side? BTW, have you tried Arnold's
suggestion to see whether it helps?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at: ms****@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Nick" <a@a.com> Subject: XML Escaping for Textbox Date: Fri, 20 Jun 2008 14:41:47 +0100
> Hey there,
I'm trying to get a textbox (using ASP.NET / VB.NET) to display XML without freaking out the browser afterwards.
Currently I have the textbox displaying the XML fine, but that's when things go funny, the second another postback occurs it complains. I
thought
>that a textbox would have it's contents escaped in on way or another, obviously not, any idea how I can get the page to ignore it's contents? I don't want it to use the contents for anything, it's just for the users convenience.
Error: Sys.WebForms.PageRequestManagerParserErrorExceptio n: The
message
>recieved from the server could not be parsed. Common cause for this error are when the response is modified by calls to Response.Write(), response filters, HttpModiles, or server trace is enabled.
Cheers in advance for your time!
Nick.
Hi Nick,
Have you got any progress on this or is there any other finding?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at: ms****@microsoft.com.
--------------------
>From: st*****@online.microsoft.com (Steven Cheng [MSFT]) Organization: Microsoft Date: Mon, 23 Jun 2008 07:05:33 GMT Subject: RE: XML Escaping for Textbox
> Hi Nick,
Based on your description, my understanding is that you use a TextBox on page to accept some input and you assign some XML text into the textbox , however, when you post back the page, it report some error, correct?
In the error message , I saw the "Sys.WebForms..." component which is ASP.NET ajax script class. So are you using AJAX in that page to perform partial postback(non refresh post)? If so, would you provide some further code logic about how to did the AJAX stuff or an simple example of the
page
>so that we can also perform test on my side? BTW, have you tried Arnold's suggestion to see whether it helps?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: ms****@microsoft.com.
================================================= = Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ault.aspx#noti
f
>ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx. ================================================= = This posting is provided "AS IS" with no warranties, and confers no rights. --------------------
>>From: "Nick" <a@a.com> Subject: XML Escaping for Textbox Date: Fri, 20 Jun 2008 14:41:47 +0100
>> Hey there,
I'm trying to get a textbox (using ASP.NET / VB.NET) to display XML without freaking out the browser afterwards.
Currently I have the textbox displaying the XML fine, but that's when things go funny, the second another postback occurs it complains. I
thought
>>that a textbox would have it's contents escaped in on way or another, obviously not, any idea how I can get the page to ignore it's contents?
I
>>don't want it to use the contents for anything, it's just for the users convenience.
Error: Sys.WebForms.PageRequestManagerParserErrorExceptio n: The
message
>>recieved from the server could not be parsed. Common cause for this
error
>>are when the response is modified by calls to Response.Write(), response filters, HttpModiles, or server trace is enabled.
Cheers in advance for your time!
Nick.
Hi Steven,
I've found an alternative way to display the information I want without
using a Text box but using an iFrame instead which solves the issue I have
been experiencing.
Thanks a million for your time and help none the less.
Nick.
"Steven Cheng [MSFT]" <st*****@online.microsoft.comwrote in message
news:Li****************@TK2MSFTNGHUB02.phx.gbl...
Hi Nick,
Based on your description, my understanding is that you use a TextBox on
page to accept some input and you assign some XML text into the textbox ,
however, when you post back the page, it report some error, correct?
In the error message , I saw the "Sys.WebForms..." component which is
ASP.NET ajax script class. So are you using AJAX in that page to perform
partial postback(non refresh post)? If so, would you provide some further
code logic about how to did the AJAX stuff or an simple example of the
page
so that we can also perform test on my side? BTW, have you tried Arnold's
suggestion to see whether it helps?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at: ms****@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>From: "Nick" <a@a.com> Subject: XML Escaping for Textbox Date: Fri, 20 Jun 2008 14:41:47 +0100
>> Hey there,
I'm trying to get a textbox (using ASP.NET / VB.NET) to display XML without freaking out the browser afterwards.
Currently I have the textbox displaying the XML fine, but that's when things go funny, the second another postback occurs it complains. I
thought
>>that a textbox would have it's contents escaped in on way or another, obviously not, any idea how I can get the page to ignore it's contents? I don't want it to use the contents for anything, it's just for the users convenience.
Error: Sys.WebForms.PageRequestManagerParserErrorExceptio n: The
message
>>recieved from the server could not be parsed. Common cause for this error are when the response is modified by calls to Response.Write(), response filters, HttpModiles, or server trace is enabled.
Cheers in advance for your time!
Nick.
Hey there,
For some reason this post only just appeared! I blame Outlook Express.
Anyway thanks a million for the tip, I thought there must be some way of
excluding it, that's great, cheers.
Nick.
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:uT**************@TK2MSFTNGP05.phx.gbl...
>
"Nick" <a@a.comwrote in message
news:uu**************@TK2MSFTNGP05.phx.gbl...
>Hey there,
I'm trying to get a textbox (using ASP.NET / VB.NET) to display XML without freaking out the browser afterwards.
Currently I have the textbox displaying the XML fine, but that's when things go funny, the second another postback occurs it complains. I thought that a textbox would have it's contents escaped in on way or another, obviously not, any idea how I can get the page to ignore it's contents? I don't want it to use the contents for anything, it's just for the users convenience.
Error: Sys.WebForms.PageRequestManagerParserErrorExceptio n: The message recieved from the server could not be parsed. Common cause for this error are when the response is modified by calls to Response.Write(), response filters, HttpModiles, or server trace is enabled.
Cheers in advance for your time!
Turn off ViewState on the TextBox so that the data in the Textbox is not
held onto during the between round trips. That means you'll have to
populate the controls each time on the postback with the XML.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave Moore |
last post by:
Hi All,
Can anybody point me to a FAQ or similar that describes what all this
stuff is about please?. I'm interfacing with a MySQL database if that's
relavent. I've read a couple of books which...
|
by: bobbyballgame |
last post by:
I am having a problem calling Stored Procedures:
....
dim MyValue, MyOtherValue
MyValue = "Bobby's value"
MyOtherValue = Bobby's other value"
rs.Open "exec MyStoredProc """ & MyValue &...
|
by: Hans |
last post by:
Hi!
Can someone explain how ASP works when it comes to unicode characters on the
querystring? See the testcode below. If you type in a chinese character in
the first textbox and click "post" the...
|
by: Geoff Caplan |
last post by:
Hi folks,
The thread on injection attacks was very instructive, but seemed to
run out of steam at an interesting point. Now you guys have kindly
educated me about the real nature of the issues,...
|
by: wylbur37 |
last post by:
When using a form with an input textbox such as the following ...
<input type="text" name="field1" size=30>
I discovered that when a backslash (\) is typed into the textbox,
when I later check...
|
by: Jon |
last post by:
Hi,
I used XslCompiledTransform with the following Xsl file. The <xsl:text
disable-output-escaping="yes"does not work when using XslCompiledTransform
to do the trnasform (namely the output...
|
by: Taras_96 |
last post by:
Hi everyone,
I'm having a bit of trouble understanding the purpose of escaping
nulls, and the use of addcslashes.
Firstly, the manual states that:
"Strictly speaking, MySQL requires only...
|
by: David Henderson |
last post by:
I know 'disable-output-escaping' has been discussed in the past, but I can't
put my finger on any of the threads to see if my current problem is
addressed. Sorry for re-asking the question if it...
|
by: mister-Ed |
last post by:
I have a datagrid, and when initializing my field variables, I need to
double up apostrophes so they are accepted into SQL dbase. In the line
below, i'm trying to do this with the Replace function,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |