(*) All fields are mandatory
By using this concept some websites display the star marks for the compulsory fields
while registering to that same process in asp.net we must write the following
code in Page_load event.

if(!Page.IsPostback)
{
page.validate();
}

Advertisements