[Mono-dev] [PATCH] ASP.NET 2.0 event validation support

Igor Zalmanovich igorz at mainsoft.com
Sun Nov 19 09:28:15 EST 2006


Marek,

For making controls like Button to support EventValidation you call
GetPostBackOptions. This method is called later for getting client
script reference.

I tried some optimization using of overloaded GetPostBackEventReference
method to cause register for event validation.

Please, see attached as example. 

Can it be applied to all classes that support EventValidation?

Igor.

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Marek
Habersack
Sent: Friday, November 17, 2006 3:39 AM
To: Mono Development List
Subject: [Mono-dev] [PATCH] ASP.NET 2.0 event validation support

Hello,

  Attached is a patch that implements postback/callback event
validation for ASP.NET 2.0. I tried to enable it for the controls that
support it following the common-sense approach, tests show that the
controls on MS.NET behave as ours - but I guess time will show if I was
right. Anyhow, please review and let me know if I can commit :)

best regards,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Button.patch
Type: application/octet-stream
Size: 852 bytes
Desc: Button.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061119/80901719/attachment.obj 


More information about the Mono-devel-list mailing list