i am running this method wen someone clicks on creatuser wizard createuser button
Protected void Page_Load(object sender, EventArgs e)
{
foreach (Control ctrl in CreateUserWizard1.Controls)
{
FindButtons(ctrl);
}
}
but i want to run it only when der is sm validation error in creating user
smthing like
protected void
Page_Load(object sender, EventArgs e)
{
if ( CreateUserWizard.createusererror!=null) {
foreach (Control ctrl in CreateUserWizard1.Controls)
{
FindButtons(ctrl);
}
}
}
how to do that..??
...
Go to the complete details ...