Hi,
it happens just before postback events are raised (after Page_Load). In
practise, if you have a Button on Page which triggers validation, it happens
just before Button's Click event is raised. In the Button's Click event, you
could then just check Page.IsValid.

Signature
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
> Hi all,
>
[quoted text clipped - 13 lines]
>
> Paul
paul.hester@gmail.com - 25 Aug 2006 23:34 GMT
Thanks Teemu,
If I don't want to use button events (to avoid the need for javascript)
where's the best place to check if the posted data is valid and do
database updates, redirects etc.?
Thanks,
Paul
> Hi,
>
[quoted text clipped - 26 lines]
> >
> > Paul
Teemu Keiski - 26 Aug 2006 08:45 GMT
Just before you need the data. generally you'd want to use events as they
help in keeping the page code structure clean. Otherwise you have code
centralized in one place trying to deal all cases.
Note that Js validation isnt that bad, you have server-side validation
backing it up in any case.

Signature
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
> Thanks Teemu,
>
[quoted text clipped - 38 lines]
>> >
>> > Paul