Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make Label Visible for 10 seconds.

Status
Not open for further replies.

jjc4779

IS-IT--Management
May 8, 2010
3
US
Hello everyone,

I have a web application that I have written that allows adding new records to a database and updating a database with changes made to an individual record.

When I add a record, I have a label called QueryResult in Red that appears in Red like so, "Record 999 has been Added".

I need for this message to appear only briefly and go away after maybe 10 seconds or so. How can I write code in VB to do this? I am using Visual Basic 2005 and I use the Sequel Server 2005 database.

Currently, I do not have the Ajax toolkit in my toolbox.

I need to just turn on the QueryResult Lable when a record is added for just 10 second and then have the message become invisible. I need the same coding for an update event too.

Any help is appreciated.

Thanks.

jjc4779
 
This is something that would have to be done client side with javascript. I suggest you post your question in that forum
 
red is the worst color you can choose to display a successful message. red means: stop, error, etc. a green or yellow highlighted message would be a better choice.

as for making the message disappear after a few seconds. this is purely javascript. no .net not ajax.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top