[Mono-bugs] [Bug 80926][Nor] Changed - ClientScriptManager.RegisterClientScriptInclude appears broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 21 20:08:56 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rektide at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80926

--- shadow/80926	2007-02-21 19:53:59.000000000 -0500
+++ shadow/80926.tmp.22477	2007-02-21 20:08:56.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: GNU/Linux [Other]
 OS Details: debian testing
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Sys.Web
 AssignedTo: mhabersack at novell.com                            
 ReportedBy: rektide at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -36,6 +36,20 @@
         <title>sample RegisterClientScriptInclude</title>
 </head>
 <body>
 rendered
 </body>
 </html>
+
+------- Additional Comments From rektide at gmail.com  2007-02-21 20:08 -------
+also, trying to manually insert script blocks with
+ClientScriptManager.RegisterClientScriptBlock appears non-working as
+well.  try:
+
+protected void Page_Load(object sender, EventArgs)
+{
+    string txt = "<script>alert('foo')"+";<"+"/script>"; // asp throws
+compile errors without some funky appendage
+    this.ClientScript.RegisterClientScriptBlock(this.GetType(),"fark",
+txt);
+}
+


More information about the mono-bugs mailing list