Link to home
Start Free TrialLog in
Avatar of Remulac
Remulac

asked on

Positive Validation?

I'm using the validation controls in .NET to make sure my data is entered right.  So far, so good.  However, I'm wondering if it's possible to tell the user that a record has been updated using the validation controls.  In other words, if the user enters everything right for a new salesman, for example, could I use the validation controls to say, "Salesman Entered", or at least write a message like that to the summary control?
SOLUTION
Avatar of gregasm
gregasm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Type25
Type25

You could always raise a message box, like so:

if (successfullyUpdated == true)
{
    Page.RegisterClientSideScript("success", "<script>alert('Successfully updated employee');</script>");
}
Type25,
i do think there is any member called "RegisterClientSideScript" to the page class .. if u meant "RegisterClientScriptBlock" then how is it different from what i suggested? ...
Very true, sorry didn't read your response before posting mine!