Re: Validation Problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If you have set EnableClientScript to True for the RequiredFieldValidator,
the error label is automatically cleared (if supported browser like IE is
used).

<sunshinevaldes@xxxxxxxxx> wrote in message
news:1127318180.831129.151030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On a login screen, if you have an invalid login, you get an error
though a label. However, if you fix your login but cause a validation
error (required field), lblError is never reset and it still apprears
on the screen along with the validation error. How do I clear out the
label?

Thanks, Sunshine


.



Relevant Pages

  • Re: Weird behavior with /dev/mem
    ... Make netstat exempt from the policy (i.e., ... Only run netstat from contexts that are either allowed to access ... label from the context they were run from. ... login(1) login, ...
    (freebsd-current)
  • Re: Message not displayed
    ... lblMessage.Text = "Invalid username or password"; ... >> I have a Login screen which has a Label on it, ... >> Colin B ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Message not displayed
    ... catch (Exception ex) ... >> I have a Login screen which has a Label on it, ... >> Colin B ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Weird behavior with /dev/mem
    ... > Are you using kdm/xdm to log in, or using startx? ... > xdm/kdm aren't setting your label on login, ... > label from the context they were run from. ... > login(1) login, ...
    (freebsd-current)
  • one more issue with looping through controls....
    ... RequiredFieldValidator, it finds a reqFieldValidator, but also finds a label ... which is the same control. ...
    (microsoft.public.dotnet.framework.aspnet)