Re: Checking for state's existence
"Efran Cobisi, cobisi.com" <[email protected]> Mon, 21 Apr 2008 19:41:10 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Organization | cobisi.com |
| Message-ID | <[email protected]> |
> Would that fire every time a button is clicked, or only before > page_load? Sure, it would fire every time the page is initialized. This includes post backs too. Your question is misleading, however, because the Load event would fire every time too; in both cases you could check for the IsPostback page property to determine if the page has been posted back or not. > In other words, if the form was filled out, the user has a > cup of coffee, wanders back and clicks the submit button, am I covered? Well, it depends on the quality of the coffee. ;) To answer your question, yes, the PreInit event fires every time the page is processed. HTH -- Efran Cobisi http://www.cobisi.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com