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

Marek Habersack grendel at caudium.net
Sun Nov 19 11:04:25 EST 2006

On Sun, 19 Nov 2006 06:28:15 -0800, "Igor Zalmanovich "
<igorz at mainsoft.com> scribbled:

> 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. 
It looks good.

> Can it be applied to all classes that support EventValidation?
Yes, for those classes which define their own GetPostBackOptions and do
not require special treatment.

best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061119/4b7dbd49/attachment.bin 

More information about the Mono-devel-list mailing list