I checked SO for a solution but I didn’t come to anything useful, they were either unanswered like this orphan link or irrelevant. Now I ask it here:
Is it possible to make validators show their messages on first load of the page?
I have a couple of validators (required, custom, range …) on my page, and I have grouped them. I want the required validation group show their messages on first load (when !page.IsPostBack) so my customer can see what is mandotary and what is not at the first glance.
Following code should work for your requirement.