I get the error:
Sys.WebForms.Pa geRequestManage rParserErrorExc eption: The message received
from the server could not be parsed. Common causes for this error are when
the response is modified by calls to Response.Write. ..when i postback to the
page. The problem is, i need to write some dynamic javascript on postback
and make sure it's rendered to the page.
I'm setting up Omniture analytics for my site,
<script language="JavaS cript" type="text/javascript"><!--
s.pageName = "Home"
s.channel = "Home"
s.hier1 = "Home"
s.prop1="Someth ing Dynamic Should Go Here"
var s_code = s.t(); if (s_code) document.write( s_code)//--></script>
I product an array of products to fill the "s.prop" variables. How can I
get them from the codebehind, to the s.prop1="someth ing, s.prop2="someth ing
more" and so on. Is there anyway to write from codebehind into the place
where s.prop starts? I tried response.write. ..but it fails after postback.
Thanks!
Sys.WebForms.Pa geRequestManage rParserErrorExc eption: The message received
from the server could not be parsed. Common causes for this error are when
the response is modified by calls to Response.Write. ..when i postback to the
page. The problem is, i need to write some dynamic javascript on postback
and make sure it's rendered to the page.
I'm setting up Omniture analytics for my site,
<script language="JavaS cript" type="text/javascript"><!--
s.pageName = "Home"
s.channel = "Home"
s.hier1 = "Home"
s.prop1="Someth ing Dynamic Should Go Here"
var s_code = s.t(); if (s_code) document.write( s_code)//--></script>
I product an array of products to fill the "s.prop" variables. How can I
get them from the codebehind, to the s.prop1="someth ing, s.prop2="someth ing
more" and so on. Is there anyway to write from codebehind into the place
where s.prop starts? I tried response.write. ..but it fails after postback.
Thanks!
Comment