Screen Repaint?

E

et

How do I get the screen to repaint?

I have a normal login process where the user clicks on the logon button, and
the logon is authenticated. An error is returned if the logon is not
validated, and the error is displayed via a div (div id=ErrorMessage, then
in code (ErrorMessage.InnerHtml = "Logon incorrect"). The user can then
retype the logon, and click the logon button again, and I'm trying to get
rid of the "Logon incorrect" message at that point and display another.
I've tried ErrorMessage.InnerHtml = "" in postback, under the button click
event, in the page prerender and unload and although during debug the code
is stepped through, the error never goes away. How do I repaint so the
error will go away so I can display another? Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top