The best way to show messages to user
Posted on 2010-08-15
In my website I'm using a Panel with a Label inside to show confirmation messages to user.
When the user fails the login, I set
Panel.visible = true;
Label.Text = "Login Failed";
Sometimes gets hard to handle the panel to visible/invisible.
It does works but I think that is not the better (or prettier) way to do that.
Any suggestions? Maybe some Ajax/JQuery showing the message just for a few seconds...
Thanks in advance!