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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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

Attachment: Button.patch
Description: Button.patch

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

Reply via email to