[Mono-bugs] [Bug 79516][Wis] Changed - Postback issue

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 5 15:30:45 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 david_garcia at logitech.com.


--- shadow/79516	2006-10-05 14:47:59.000000000 -0400
+++ shadow/79516.tmp.13200	2006-10-05 15:30:45.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79516
 Product: Mono: Class Libraries
 Version: 1.1
-OS: Solaris [Other]
+OS: All
 OS Details: 
 Status: NEEDINFO   
-Severity: Unknown
+Severity: 002 Two hours
 Priority: Wishlist
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: david_garcia at logitech.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -23,6 +23,61 @@
 OS: Solaris SPARC
 ------- Additional Comments From gonzalo at ximian.com  2006-10-05 14:47 -------
 Please, provide a test case so we can verify if it's a solaris only bug.
+------- Additional Comments From david_garcia at logitech.com  2006-10-05 15:30 -------
+I have confirmed the bug on linux also.
+As follows therese are the conditions of the asp form;
+There are several asp.net controls with which auto postback has been 
+enabled and they have only one funtion bound to them. Several 
+controls have the same function bound to them. 
+There are three listboxs bound to the same event
+There are also five radio buttons bound to one function 
+When a any postback event is invoked, all of the auto postback events 
+are also invoked.
+to reproduce the error simple create a several controls and enable 
+autopostback on some of them. 
+Run with xsp2. 
+When an event is called, all autopostback controls events will also 
+be invoked.
+This still occurs when the various controls are given their own 
+independt function.
+Ie. each listbox will have a different event (as specified)
+IE. each radio will have its own event.
+the following code is required to identify which control actually 
+caused the event. I have to use this in every function that has auto 
+postback otherwise they get called. Apparently what every invokes a 
+controls event does not distiguish between the target funciton and 
+autopostback funcitons of the different controls.
+    bool CallVerify(params String[] names)
+    {
+        if(String.IsNullOrEmpty((String)Request.Params
+            return false;
+        Console.WriteLine("Called by {0}", Request.Params
+        foreach (String name in names)
+        {
+            if(Request.Params["__EVENTTARGET"].EndsWith(name) )
+                return true;
+        }
+        return false;
+    }

More information about the mono-bugs mailing list