The IsValid property is not static. "Page" isn't referring to the Page
class, but rather the Page property of your user control (which
returns an object of the Page class).
http://msdn.microsoft.com/library/en...sPageTopic.asp
http://msdn.microsoft.com/library/en...validtopic.asp
You could also write "this.Page.IsValid."
"Simon Harvey" <sh856531@microsofts_free_email_service.com> wrote in message news:<>...
> "DujHoD" <> wrote in message
> news: m...
> > if (Page.IsValid) { ... }
>
> HI,
>
> Thanks for that. I thought it might be that, but given that its a static
> method, how does it know what page it's checking without passing anything to
> it.
>
> I'm sure that you're right, but I'm not sure how it works