[Mono-bugs] [Bug 78646][Nor] New - IsPostback returns true during
AJAX call with .Net and false with Mono
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jun 14 12:04:59 EDT 2006
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 plin at metier.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78646
--- shadow/78646 2006-06-14 12:04:59.000000000 -0400
+++ shadow/78646.tmp.10696 2006-06-14 12:04:59.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 78646
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details: Red Hat Fedora Core 5
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com
+ReportedBy: plin at metier.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: IsPostback returns true during AJAX call with .Net and false with Mono
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+A third party web grid contorl we uses implemented Ajax scrolling that
+works correctly in .Net but not in Mono. After some investigation we
+found out Mono and .Net behaves different with the Ajax parameter they
+used.
+It turns out Mono is checking for __VIEWSTATE to determine is web request
+is a postback or not while .Net checks for either __VIEWSTATE or
+__EVENTTARGET.
+
+Steps to reproduce the problem:
+1. Create an Ajax call with HttpRequestMethod = "POST", and sent() with
+this
+parameter "__EVENTTARGET=webcontrolId&__EVENTARGUMENT=XmlHttpRequest&..."
+2. Create a website to accept the Ajax call
+3. Print out IsPostback value
+
+Actual Results:
+Ajax call is not considered as postback
+
+Expected Results:
+Ajax call should be considered as postback
+
+How often does this happen?
+Always
+
+Additional Information:
+I am not sure if the .Net behavior is correct in respect to documentation
+or if the web control is coded to a bug, but we would like the behavior of
+Mono to match .Net
More information about the mono-bugs
mailing list