Anybody knows the difference between onInit and PageLoad

  • Thread starter Thread starter Andrea
  • Start date Start date
A

Andrea

I'm experiencing problems with custom validator. I see that using my own
validator it works fine only if Page.Validate() method is called in the Page_OnInit
event, while the standard validator works fine also if validation is performed
into the Page_OnLoad event.
Checking with the reflector it doesn't seem anything strange to add.

Any help?

Thanks
Andrea
 
Sorry ... I didn't see it ... it doesn't work also with standard validator.
This let me assume that validation process should be performed only in OnInit
event.

Andre
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top