[Mono-list] RE: Mono-list digest, Vol 1 #1746 - 1 msg

Mark Easton measton@tebiki.co.uk
Sat, 29 May 2004 12:14:53 +0100


I've seen a similar problem in a vanilla ASP project when an HTML submit
button had some JavaScript associated with its onCLick event, with the
javascript also doing a submit.

M

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of
mono-list-request@lists.ximian.com
Sent: 29 May 2004 11:30
To: mono-list@lists.ximian.com
Subject: Mono-list digest, Vol 1 #1746 - 1 msg

Send Mono-list mailing list submissions to
	mono-list@lists.ximian.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.ximian.com/mailman/listinfo/mono-list
or, via email, send a message with subject or body 'help' to
	mono-list-request@lists.ximian.com

You can reach the person managing the list at
	mono-list-admin@lists.ximian.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mono-list digest..."


Today's Topics:

   1. ASP .NET Help (Pedro Santos)

--__--__--

Message: 1
Date: Fri, 28 May 2004 17:03:35 +0100
From: "Pedro Santos" <psantos@oninetspeed.pt>
To: <mono-list@lists.ximian.com>
Subject: [Mono-list] ASP .NET Help

Disclaimer: I am at work, this is a problem that I am having in ASP .NET
=
in windows. I do not know that if in Mono it would happen the same, but
=
probably it would. I hope that someone that understands ASP .NET inside
=
out can help me.
=20
My problema is very simple: I have a Control that is used in a Page. All
=
my Control Events are fired twice! In this order:
OnInit -> OnLoad -> OnPreRender -> OnUnLoad -> OnInit -> OnLoad -> =
OnPreRender -> OnUnLoad
=20
I do not know why they are called the second time, this is why I need =
help! :-)
This does not happen all the time, only when I do some actions. I =
captured the stack trace on each OnLoad, I hope it can help:
=20
# First
=20
Void add()
Void save()
Void OnLoad(System.EventArgs)
Void LoadRecursive()
Void LoadRecursive()
Void LoadRecursive()
Void ProcessRequestMain()
Void ProcessRequest()
Void ProcessRequest(System.Web.HttpContext)
Void System.Web.HttpApplication+IExecutionStep.Execute()
System.Exception ExecuteStep(IExecutionStep, Boolean ByRef)
Void ResumeSteps(System.Exception)
System.IAsyncResult =
System.Web.IHttpAsyncHandler.BeginProcessRequest(System.Web.HttpContext,
=
System.AsyncCallback, System.Object)
Void ProcessRequestInternal(System.Web.HttpWorkerRequest)
Void ProcessRequest(System.Web.HttpWorkerRequest)
Int32 ProcessRequest(IntPtr, Int32)
=20
# Second

Void add()
Void save()
Void OnLoad(System.EventArgs)
Void LoadRecursive()
Void LoadRecursive()
Void LoadRecursive()
Void ProcessRequestMain()
Void ProcessRequest()
Void ProcessRequest(System.Web.HttpContext)
Void System.Web.HttpApplication+IExecutionStep.Execute()
System.Exception ExecuteStep(IExecutionStep, Boolean ByRef)
Void ResumeSteps(System.Exception)
Void ResumeStepsFromThreadPoolThread(System.Exception)
Void OnAsyncEventCompletion(System.IAsyncResult)
Void Complete(Boolean, System.Object, System.Exception)
Void PollLockedSessionCallback(System.Object)
=20
Can anyone give any hint? Thanks


--__--__--

_______________________________________________
Mono-list mailing list
Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


End of Mono-list Digest