I want to use isvalid , I figure out I need to define as follows,
private decimal processGiftCard(Object sender, ServerValidateEventArgs e)
{
e.IsValid = false;
if (this .IsValid)
{
}
}
Now I would like to call this method I am not sure what should I pass for (Object sender, ServerValidateEventArgs e).
public void bAddGiftCertificate_Click(object sender, EventArgs e)
{
processGiftCard(?);
}
...
Go to the complete details ...